This collection element property is the connection name string of the connection. Z and I Emulator for Windows only returns the short character ID (A-Z or a-z) in the string. There can be only one Z and I Emulator for Windows connection open with a given name. For example, there can be only one connection “A” open at a time. Name is a String data type and is read-only. The following example uses the Name collection element property.

Dim  Str as String
Dim autECLConnList as Object
Dim Num as Long
Set autECLConnList = CreateObject("ZIEWin.autECLConnList")
Str = autECLConnList(1).Name