ThrowError Property | ||
Syntax
Remarks
Data Type
Example
Dim lResult As Long Socket1.ThrowError = False lResult = Socket1.Connect If lResult <> 0 Then MsgBox "Error on Connect: " & lResult Exit Sub Endif
On Error Resume Next: Err.Clear Socket1.ThrowError = True Socket1.Connect If Err.Number <> 0 MsgBox Err.Description, vbExclamation Exit Sub Endif On Error GoTo 0 See Also |
||
Copyright © 2025 Catalyst Development Corporation. All rights reserved. |