IBM Support

IBM i Access Client Solutions Windows Toolkit - Visual Basic Script

A listing of sample programs to help develop IBM i Access Client Solutions for Windows applications using Visual Basic Script.

visual basic script,windows toolkit,ibm i access for windows toolkit

The following sample programs are available to help develop Windows applications using Visual Basic Script.  The programs require that the IBM i Access Client Solutions Windows Application Package be installed first.  The Programmer's toolkit is part of that client installation.


ActiveX automation objects

  • vbsallob.exe – Visual Basic Script sample using the IBM i Access Client Solutions Windows automation objects.

    This Visual Basic Script sample uses the IBM i Access Client Solutions Windows automation objects to perform the following:

    • Retrieve the list of IBM i systems which have previously been connected
    • Specify a new IBM i to access
    • Retrieve information about an IBM i, such as the: IP address, host version and release levels, password expiration date, number of active connections, etc.
    • Call an IBM i API to retrieve a list of user libraries on the server
    • Call an IBM i API to retrieve a list of data queues in a library
    • Create and delete libraries
    • Create and delete data queues
    • Query the attributes of data queues
    • Send and receive data using data queues
    • Convert strings and numeric data between host and PC formats
    • Retrieve information about the IBM i Access Client Solutions Windows Application Package code installed on the PC

    This sample requires the file cwbxvbs.inc which is installed in the Include directory as part of the IBM i Access Client Solutions Windows Toolkit. This file must be in the same directory as the files from this sample.

    Note: If you get the following error while running this script:
    "ActiveX component can't create object: 'createobject'"
    please see Microsoft Knowledge Base article Q195826.

For information on how to get the IBM i Access Client Solutions client and Windows Application Package, see Obtaining Access Client Solutions.

[{"Product":{"code":"HW1A1","label":"IBM Power Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"--","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

More support for:
IBM Power Systems

Software version:
Version Independent

Operating system(s):
IBM i

Document number:
664397

Modified date:
03 June 2024

UID

isg3T1027203

Manage My Notification Subscriptions