Features
Ask DevGuru
ASP Resources
Find the Bug
Knowledge Base
Links
Tips of the Week
Tutorials
Products
dgCalendar
dgCharge New!
dgChart New!
dgFileUpload
dgReport New!
dgSort
dgTree
Site
Authoring
Coming Soon
DevGuru Resume
Link to Us
Merchandise
Sponsorships
Testimonials
What's New
Technologies
ADO 2.6
ASP
CSS2
HTML
JavaScript
Jet SQL
Transact-SQL Syntax
VBScript
WML
WMLScript
WSH
XML DOM
All Objects
Class Statement
Set Statement
OBJECT: Class
Implemented in version 5.0
The term,
Class
, refers to any object that you create using the
Class ... End Class
statement. This ability to create your own object and to perform operations upon it using any valid VBScript code, represents a significant expansion of the versatility of the VBScript language.
Note that
Class
is a keyword and you may not use it as a class name.
After you have used the
Class
statement to declare a class name, then, as demonstrated below, you may declare an instance of that
Class
(i.e., object) using
Set
and
New
.
Code:
<%
Dim YourObjectVariable
Set YourObjectVariable = New YourClassName
%>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information