示例
以下示例展示了如何使用连接名称为新创建的 autECLOIA 对象设置连接。
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