Handle

This is the handle of the connection for which the autECLPS object was set. There can be only one Z and I Emulator for Windows connection open with a given handle. For example, there can be only one connection “A” open at a time. Handle is a Long data type and is read-only. The following example shows this property.

DIM  Obj as Object
Set Obj = CreateObject("ZIEWin.autECLPS")
 
' Initialize the connection
Obj.SetConnectionByName("A")
 
' Save the connection handle
Hand = Obj.Handle