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

Adding handlers with class wizard, Adding Handlers With Class Wizard: ...

Adding Handlers With Class Wizard: Whenever a handler is added, the class wizard places the prototype for the message handler in the header (.H) file. It gives a skeleton hand

Scope and lifetime of variables, The scope of a variable is finding out by ...

The scope of a variable is finding out by where you declare it. While you declare a variable in a procedure, only code in that procedure can access or alter the value of that varia

Declaring variables in vbscript, You declare variables explicitly in script...

You declare variables explicitly in script via the Dim statement, the Public statement, & the Private statement. For illustration: Dim DegreesFahrenheit You declare multiple

For next repetition - control statement, For ..... Next Repetition Statemen...

For ..... Next Repetition Statement: To demonstrate the working of for .. next control statement, put a command button and a label control on the form. The Handle clicks the e

Student record management system, i need your help in designing and coding ...

i need your help in designing and coding a student record management system

Refresh method - data control, The Refresh Method: The refresh method ...

The Refresh Method: The refresh method transfer to the first record in the record set. To invoke the refresh method follow the syntax which is as shown below: Form1.Data1.R

Variable length strings, Variable Length Strings: The Strings can be de...

Variable Length Strings: The Strings can be declared using As or $ as shown in the code below; the msg and msg1 are the two strings and they are assigned the values using '='.

Aim - control statement, Aim: To exhibit what is the day when the seco...

Aim: To exhibit what is the day when the second command button is clicked and to clear the screen when the first command button is clicked. The functioning of this program is

Need help on macros in visual basic, I have an excel list with a lot's of s...

I have an excel list with a lot's of serial numbers that have been entered by hand from PDFs online (1-5 serial numbers per PDF). Many of the values are duplicates, wrong, or conta

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