IsErrorHandlingEnabled


The IsErrorHandlingEnabled method determines whether system error handling in Visual Basic is enabled. System error handling allows processing object errors with OnError statement. System error handling is enabled by default.
BASIC
IsErrorHandlingEnabled() As Boolean

Parameters

The method has no parameters.

Return Values

The return value is TRUE if system error handling is enabled; FALSE otherwise.

Remarks

When IXFile method fails and system error handling is enabled Visual Basic generates an exception that can be trapped with OnError statement for further error processing. If system error handling is disabled method returns failure code which should be checked by user. In both situations GetError and GetFailure can be used for complete error information. See Error Handling in Visual Basic for more information.

See Also

EnableErrorHandling, GetError, GetFailure, Error Handling