ThrowError Property | ||
Syntax
Remarks
Data Type
Example
NntpClient1.ThrowError = False nError = NntpClient1.Connect(strHostName) If nError > 0 Then MsgBox NntpClient1.LastErrorString, vbExclamation Exit Sub Endif
On Error Resume Next: Err.Clear NntpClient1.ThrowError = True NntpClient1.Connect strHostName If Err.Number <> 0 MsgBox Err.Description, vbExclamation Exit Sub Endif On Error GoTo 0 See Also |
||
Copyright © 2024 Catalyst Development Corporation. All rights reserved. |