Embed the BlueZone ActiveX control in a Visual Basic form

The BlueZone Web-to-Host control module (bzw2h32.cab for 32-bit; bzw2h64.cab for 64-bit) can be used to embed a BlueZone terminal emulation session in a Visual Basic form. This is useful when there is a requirement for integrating terminal emulation along with other functionality in a Visual Basic application. When the BlueZone session is running in the form, it can be controlled by the Visual Basic application through the BlueZone Host Automation Object.

Refer to BlueZone Host Automation Object Help for more information.

Figure 1 shows the BlueZone Web-to-Host control module embedded in a Visual Basic form using the BlueZone Host Automation Object (BZHAO) to communicate with the Visual Basic code.
Figure 1. Visual Basic embedded with Web-to-Host control module

Requirements

  • Microsoft Visual Basic Editor installed
  • BlueZone Desktop or BlueZone Web-to-Host installed

Getting started

Install BlueZone using the setup program or BlueZone Web-to-Host Wizard. When installed, the BlueZone Web-to-Host control module component is available to Visual Basic.
Note: During the BlueZone Desktop installation, the BlueZone Web-to-Host control module file (bzw2h32.cab for 32-bit; bzw2h64.cab for 64-bit) is automatically copied to the BlueZone installation folder.