The following sample programs are available to help develop IBM i Access for Windows applications using Visual Basic Script:
ActiveX automation objects
- vbsallob.exe – Visual Basic Script sample using the IBM i Access for Windows automation objects.
This Visual Basic Script sample uses the IBM i Access for Windows automation objects to perform the following:
This sample requires the file cwbxvbs.inc which is installed in the Include directory as part of the IBM i Access for 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.
ActiveX custom controls
- unwebapp.exe – Use of Operations Navigator Tree and List controls in a web page.
This HTML sample uses the Operations Navigator Tree and List ActiveX custom controls to create an application in a web page that is like Operations Navigator. VBScript commands in the HTML document are used to get the Tree and List ActiveX controls to communicate with each other. Additional VBScript commands indicate how to change the icon view of the List ActiveX control, as well as refresh the controls.
- Call IBM Support Line:
Inside the US