Number Property

Description Property,FirstIndex Property,Global Property,HelpContext Property,HelpFile Property,IgnoreCase Property,Length Property,Number Property,Pattern Property,Source Property,Value Property Home home | Other Resources other resources | Advertise with us advertise | Link to us link to us | Contact us contact | Bookmark Us!
Google
 
Where can I find good Windows Web Hosting to host my VBScript Site?
You can find good Windows Hosting which support VBScript, ASP, ASP.Net,VisualStudio.Net and MSSQL at a very reasonable low monthly fee at EasyCGI.com and DiscountASP.Net

Number Property

Returns or sets a numeric value specifying an error. Number is the Err object's default property.

object.Number [= errornumber]

Arguments

object

Always the Err object.

errornumber

An integer representing a VBScript error number or an SCODE error value.

Remarks

When returning a user-defined error from an Automation object, set Err.Number by adding the number you selected as an error code to the constant vbObjectError.

The following code illustrates the use of the Number property.

On Error Resume Next
Err.Raise vbObjectError + 1, "SomeObject"    ' Raise Object Error #1.
MsgBox ("Error # " & CStr(Err.Number) & " " & Err.Description)
Err.Clear   ' Clear the error.

VBScriptOnline.com - Description Property,FirstIndex Property,Global Property,HelpContext Property,HelpFile Property,IgnoreCase Property,Length Property,Number Property,Pattern Property,Source Property,Value Property