Short Notes about Error Handling
Statement:
On Error Statement
Exit Sub statement
Exit Function statement
Exit Property statement
Throw Statement (available in vb.net)
On Error GoTo [error-handling routine label] statement
Exit For statement
Exit Do statement
Exit While statement
GoTo statement
Resume statement
Properties:
Err object reflect only the most recent error.
The error message associated with Err.Number is contained in Err.Description
Err.Source
Constant:
Public Const ErrorIgnore = vbObjectError + 513
Public Const ErrorNotice = vbObjectError + 514
Public Const ErrorData = vbObjectError + 515
Public Const ErrorFail = vbObjectError + 516
Related Topics:
Font Simbol Matematika Di Microsoft Word 1
Fungsi Menu Pada Microsoft Word 1
Tidak ada komentar:
Posting Komentar