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