Accusoft BarcodeXpress v13.8 - Updated
RaiseExceptions Property
AccusoftBarcodeXpress13 ActiveX DLL > BarcodeXpress Object : RaiseExceptions Property
Description
Determines if errors are raised as exceptions in the application.
Property type
Read-write property
Syntax
Visual Basic
Public Property RaiseExceptions As Boolean
Return Type
A boolean value which is True to raise errors as exceptions. Otherwise, False is returned.
Remarks

The default value is True.

If set to True, the component requires an On Error GoTo statement and a label to catch the exception, as outlined below:

VB6
Copy Code
On Error GoTo ErrorHandler
myControl.RaiseExceptions = True
...
myControl.DoSomething
...
ErrorHandler:
Log "Caught exception from Accusoft control: number = " _
& (Err.Number - vbObjectError) _
& ", description = '" & Err.Description & "'"

To get the last error number and description, use the ErrorCode and ErrorDescription properties.

If set to False, only return the error property results from ErrorCode and/or ErrorDescription.

See Also

BarcodeXpress Object  | BarcodeXpress Members

Is this page helpful?
Yes No
Thanks for your feedback.