|
Logs on to Venice using the Venice logon dialog. |
|
|
VARIANT_BOOL LogonDialog ( BSTR bsCreatedForVenVer, BSTR bsAppName ) |
|
|
Parameters | bsCreatedForVenVer | [in] The version of Venice your application is developed for and tested with. This should be a hardcoded or static value, do not dynamically determine the current Venice version to supply this value. | bsAppName | [in] The name of the client application that is using ClSdk. This name is used for display in the conflict dialog in the Venice installation. Try not to use long names/blanks/punctuation marks/... for readability in the conflict dialog! | | Return value |
True if the user was successfully logged on to Venice, otherwise false. |
|
See Also |
|
|
|
Samples |
|
|
C++ |
|
if (pVenice->LogonDialog ("13.30_", "AppName") == VARIANT_TRUE)
// User was logged on successfully
|
|
|
C# |
|
if (oVenice.LogonDialog ("13.30_", "AppName"))
// User was logged on successfully
|
|
|
VBS |
|
If oVenice.LogonDialog("13.30_", "AppName") Then
' User was logged on successfully
End If
|
|
|
VB.NET |
|
If oVenice.LogonDialog("13.30_", "AppName") Then
' User was logged on successfully
End If
|
|