Example

The following example shows how to use the connection name to set the connection for a newly created autECLOIA object.

DIM  autECLOIA as Object
 
Set autECLOIA = CreateObject("ZIEWin.autECLOIA")
 
' Initialize the connection
autECLOIA.SetConnectionByName("A")
' For example, see if its num lock is on
If ( autECLOIA.NumLock = True ) Then
  'your logic here...
Endif