Handle

This collection element property is the handle of the connection. There can be only one Z and I Emulator for Windows connection open with a given handle. Handle is a Long data type and is read-only. The following example uses the Handle property.

Dim autECLConnList as Object
Dim Hand as Long
 
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
 
autECLConnList.Refresh
Hand = autECLConnList(1).Handle