Returns the text of the last error that occurred. Check the ResponseCode property for the error code.
Syntax
object.ResponseInfo
The ResponseInfo property syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
info | The response returned by the connection. |
Return Type
String
Remarks
Use the StateChanged event to receive notification of an error, as shown below:
Private Sub Inet1_StateChanged(ByVal State As Integer)
Dim strMess As String ' Message variable.
Select Case State
' ... Other cases not shown.
Case icError ' 11
' Get the Text of the error.
strMess = "ErrorCode: " & Inet1.ResponseCode & _
" : " & Inet1.ResponseInfo
End Select
Debug.Print strMess
End Sub