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