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