ThrowError Property | ||
Syntax
Remarks
Data Type
Example
TelnetClient1.ThrowError = False nError = TelnetClient1.Connect(strHostName) If nError > 0 Then MsgBox TelnetClient1.LastErrorString, vbExclamation Exit Sub Endif
On Error Resume Next: Err.Clear TelnetClient1.ThrowError = True TelnetClient1.Connect strHostName 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. |