Displays the Open Application dialog box.
Before calling OpenApplication, you must set logon information by calling Logon or HsxClient.SetLogonInfo. The logon information that has been specified with the Logon dialog box or with SetLogonInfoSSO is authenticated after the user clicks the Open Application button.
To open applications without displaying the Open Application dialog box, use HsxClient.OpenApplication. |
<HsxClientUI>.OpenApplication(ppIUnkServer, ppIUnkSession, pbstrServer, pbstrProduct, pbstrApplication)
HsxServer object. Returns an object reference to the HsxServer object for the application server that the user selects. For information on this object, see HsxServer Type Library. | |
HsvSession object. Returns an object reference to an HsvSession object. For information on this object, see HsvSession Type Library. | |
String. Returns the name of the application server that the user selects. | |
String. Returns the product name. “Financial Management” is returned for Financial Management applications. | |
String. Returns the name of the application that the user opens. |
Boolean. Returns TRUE if an application is opened, otherwise FALSE.
This example uses the Logon method to display the Logon dialog box. If the user clicks the dialog box’s Logon button, Logon returns TRUE, and OpenApplication — which is placed within an If structure — is called. The example assumes that the m_cClientUI object reference has been set with the code in the Example for Initialize.