CommStarted
This indicates the status of the connection to the host. The value is True if the host is connected; otherwise, it is False. CommStarted is a Boolean data type and is read-only. The following example shows this property.
DIM Hand as Long
DIM Obj as Object
Set Obj = CreateObject("PCOMM.autECLPS")
' 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