CommStarted
これは、ホストへの接続の状況を示しています。ホストが接続されている場合、値は True です。 その他の場合は False です。CommStarted は、Boolean データ型で読み取り専用です。以下の例は、このプロパティーを示しています。
DIM Hand as Long
DIM Obj as Object
Set Obj = CreateObject("ZIEWin.autECLWinMetrics")
' Initialize the connection
Obj.SetConnectionByName("A")
' This code segment checks to see if communications are connected
' for A. The results are sent to a text box called
' CommConn.
If Obj.CommStarted = False Then
CommConn.Text = "No"
Else
CommConn.Text = "Yes"
End If