Sample Program - Visual Basic

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:

  1. Open the C:\Program Files\PASSPORT Host Integration Objects\VBSample folder.

  2. Double-click on VBHIOTest.exe

OR

  1. Click on Start->All Programs->PASSPORT Host Integration Objects

  2. Click on Sample Program - Visual Basic.

 

To view the Source File:

  1. Click on Microsoft Visual Basic 6.0. New Project Dialog appears.

  2. Click on Standard Exe and Existing projects. Browse for the VBHIOTest Program.

  3. Click On VBHIOTest.vbp and click Open.