Search DaTutorials:  
HOME
VB Script Tutorials
Introduction
Reference
Tutorials

Class Object

The object created using the Class statement. Provides access to the events of the class.

Remarks

You cannot explicitly declare a variable to be of type Class. In the VBScript context, the term "class object" refers to any object defined using the VBScript Class statement.

Once you have created a class definition using the Class statement, you can create an instance of the class using the following form:

Dim X
Set X = New classname

Because VBScript is a late-bound language, you cannot do any of the following:

Dim X as New classname

-or-

Dim X
X = New classname

-or-

Set X = New Scripting.FileSystemObject

Events

Initialize Event | Terminate Event

Requirements

Version 5

See Also

Class Statement | Dim Statement | Set Statement


     Cash Advance | Pay Day Loans | Car Loan | Mobile Phones | Buy Anything On eBay
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp