returns or sets a numeric value indicating an


Returns or sets a numeric value indicating an error. Number is the Err object's default property. While returning user-defined error from an Automation object, set Err.Number through inserting the number you decided as an error code to the constant vbObjectError. For instance, you employ the following code to return the number 1051 as an error code:

Err.Raise Number:= vbObjectError + 1051, Source:= "SomeClass"

Syntax

Err.Description [= stringexpression]

Argument : Stringexpression

A string expression containing a description of the error.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: returns or sets a numeric value indicating an
Reference No:- TGS0267048

Expected delivery within 24 Hours