CommStarted

これは、ホストへの接続の状況を示しています。ホストが接続されている場合、値は True です。 その他の場合は False です。CommStarted は、Boolean データ型で読み取り専用です。以下の例は、このプロパティーを示しています。

DIM  Hand as Long
DIM  SessObj as Object
 
Set SessObj = CreateObject("ZIEWin.autECLSession")
 
' Initialize the session
SessObj.SetConnectionByName("A")
 
' This code segment checks to see if communications are connected
' for session A.  The results are sent to a text box called
' CommConn.
If SessObj.CommStarted = False Then
    CommConn.Text = "No"
Else
    CommConn.Text = "Yes"
End If