Properties of object method, Visual Basic Programming

Assignment Help:

Properties: VBScript Err Object

 

Properties

 

Description

 

Description Property

The descriptive string related with an error.

 

HelpContext Property

A context ID for a topic within a Windows help file.

 

HelpFile Property

A wholly qualified path to a Windows help file.

 

Number Property

A numeric value recognizing an error.

 

Source Property

The name of the object or application which originally generated the error.

Description Property

Returns or sets a descriptive string related with an error. The Description property contains a short description of the error. Employ this property to alert the user to an error which you cannot or do not desire to handle. While generating a user-defined error, assign short description of your error to this property. If Description is not filled in, and the value of the VBScript Err Object Number Property corresponds to VBScript run-time error, the descriptive string related with the error is returned.

Syntax Err.Description [= stringexpression]

Argument: Stringexpression   A string expression having a description of the error.


Related Discussions:- Properties of object method

Repeating statements while a condition is true, Use the While keyword to ve...

Use the While keyword to verify a condition in a Do...Loop statement. You can verify the condition before you enter the loop (as illustrated in the following ChkFirstWhile instance

Programming project using straight-line method, Depreciation to a Salvage V...

Depreciation to a Salvage Value of 0.   For tax purposes an item may be depreciated over a period of several years, n. With the straight-line method of depreciation, each year th

Variable scope, Variables must always be described with the smallest scope ...

Variables must always be described with the smallest scope possible. VBScript variables can have the given scope. Scope Where Variable is Declared

Displaying a file with scrolling - document class, Displaying a file With S...

Displaying a file With Scrolling: To display a file with the scrolling option allows the steps as shown below: 1. Generate a SDI application. 2. In the Step 6 of the App

Variable naming conventions, For reason of readability & consistency, emplo...

For reason of readability & consistency, employ the following prefixes along with descriptive names for variables in your VBScript code. S ub type Prefi

Do while loop statement, Do While Loop Statement : The statements conta...

Do While Loop Statement : The statements contained by the do...while loop block executes till the condition given in the while is true. The working of do...loop is elaborate

HCI, I have an assignment In HCI , can anyone help me ?

I have an assignment In HCI , can anyone help me ?

Number property, Returns or sets a numeric value indicating an error. Numbe...

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 throu

Vbscript variables, A variable is convenient placeholder which refers to a ...

A variable is convenient placeholder which refers to a computer memory location where you can store program information which may change when your script is running. For instance,

Program for computing automobile repair bills, A program is needed to assis...

A program is needed to assist computing automobile repair bills. The cost of labor is $35 per hour. The costs for parts are subject to a 5% sales tax, which should be added t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd