The VB wrapper for Component Enabler supports early binding when developing in Visual Basic, if you create a reference to ALVB.DLL in the project options. To create a reference, select Project/References from the menu bar. This displays a dialogue box similar to the following example:
Checking the check box against the ALVB entry adds a reference to the VB wrapper to your project. An instance of the Component Enabler object, called the
ActiveLINCConnection can then be declared using code as shown in the following example:
Public LINCApp As ActiveLINCConnection
Note: The current version of Component Enabler is synchronous, that is, the program is suspended until a response is received from the host. The COM wrapper raises an event if the instance is declared using the WithEvents construct in a form. However, the program is still suspended until the response is received, and it is not possible to perform additional processing while waiting for the response.