Verastream SDK for Airlines
Using the Verastream SDK with Visual Basic

Before the Verastream SDK can be used with a Visual Basic project, the SDK COM objects must be referenced. These steps must be repeated for every Visual Basic project using the Verastream SDK. Once completed, the Verastream SDK COM objects are accessible within that project. A simple test project is recommended to ensure full functionality before project development.

Note

Attachmate Verastream SDK for Unisys and Airlines objects require Visual Basic v. 6.0 or later.

COM and .NET applications developed with the Verastream SDK do not support the 64-bit JRE . For these applications, use the 32-bit JRE. Running a COM or .NET application using the 64-bit JRE causes COM automation error 80131534, as displayed in the following message:

Run-time error '-2146233036(80131534)'
The type initializer for 'SessionLoader.SessionLoader' threw an exception.

To include the Verastream SDK COM objects in Visual Basic:
  1. Create a new project, or open an existing project.

  2. From the Project menu, select References.

    The References dialog box appears.

  3. Click the box next to the names of the following SDK objects to select them from the Available References list box:

    • SessionLoader

    • Mutable

    • ScreenUPG

  4. Click OK to add the SDK objects to your project.

The sample application VBEvents illustrates how to use the SDK with Visual Basic.

Related Topics
Development Tools Supported
Sample Applications Overview
  Footer