Embed the BlueZone ActiveX control in a Visual Basic form
The BlueZone Web-to-Host control module (sglw2hcm.ocx) 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. Once the BlueZone session is running in the form, it can be controlled by your Visual Basic application via the BlueZone Host Automation Object.
Refer to BlueZone Host Automation Object Help for more information.
Figure 10: Visual Basic embedded with Web-to-Host control module 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 10: Visual Basic embedded with Web-to-Host control module
Image
Requirements
•  Microsoft Visual Basic Editor installed
•  BlueZone Desktop or BlueZone Web-to-Host installed
Getting started
This feature is new in BlueZone 4.0. Install BlueZone using the setup program or BlueZone Web-to-Host. 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 (sglw2hcm.ocx) is automatically copied to the BlueZone installation folder.