LastMessage Property (Read Only)
Syntax
CWDataSocket.LastMessage
Data Type
Purpose
Specifies the last message used in an OnStatusUpdated event.
Remarks
The message describes either the last error encountered or the last step taken in connecting or updating the data.
Example
'Display the current status in the form
'[status:error] Message
Dim str As String
If (CWDataSocket1.StatusUpdated) Then
str = "[" & CWDataSocket1.Status & ":" & _
CWDataSocket1.LastError & "]" & _
CWDataSocket1.LastMessage
MsgBox str
End If