Microsoft Visual Basic

The recommended method of using the Bank Wizard API from a Microsoft Visual Basic application is using the COMwrapper. After registering the COM DLL there are two methods to call the COM wrapper.

Method 1

  1. To add the COM DLL to a Visual Basic project, select Project > Add References...
  2. Select bwintcom 1.0 Type Library.
  3. To call the COM wrapper, include the following code in your application.
  4. Dim BW3 As New BWINTCOMLib.BankWizardInt

    Dim h As BWINTCOMLib.BWIHandle

     

    Set h = New BWINTCOMLib.BWIHandle

    BW3.init h

    ...

Method 2

With this method, you can use the COM DLL without needing a reference to the Visual Basic project.

To call the COM wrapper, include the following code in your application.

Set BW3 = CreateObject("BWint.BankWizardInt")

Set h = CreateObject("BWInt.BWIHandle")

BW3.init h

...