This client based sample program is a Visual Basic program that references the PASSPORT HIO Type Library. It has Menus as follows and uses the events OnSessionChanged, OnScreenChanged and OnOIAChanged.
File |
Sessions |
Session |
Screen |
Fields |
Field |
Help |
Exit |
NewSession |
Connect |
OIA |
Count |
GetString |
About |
|
|
OpenSession |
Disconnect |
GetString |
Item |
PutString |
|
|
|
CloseSession |
IsConnected |
PutString |
Refresh |
|
|
|
|
UpdateLicense |
ConfigurationResource |
GetRows/Columns |
FindByPosition |
|
|
|
|
|
SessionName |
GetCursor |
FindByString |
|
|
|
|
|
SessionType |
PutCursor |
Enum |
|
|
|
|
|
|
FindString |
|
|
|
|
|
|
|
GetData |
|
|
|
|
|
|
|
SendKeys |
|
|
|
|
|
|
|
SendAid |
|
|
|
|
|
|
|
WaitForStr |
|
|
|
|
|
|
|
WaitForNoX |
|
|
|
To run the Sample Program:
Open the C:\Program Files\PASSPORT Host Integration Objects\VBSample folder.
Double-click on VBHIOTest.exe
OR
Click on Start->All Programs->PASSPORT Host Integration Objects
Click on Sample Program - Visual Basic.
To view the Source File:
Click on Microsoft Visual Basic 6.0. New Project Dialog appears.
Click on Standard Exe and Existing projects. Browse for the VBHIOTest Program.
Click On VBHIOTest.vbp and click Open.