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

              











STATEMENT:  Set

Set
 
The Set statement assigns the object reference to a variable or property. (i.e., create an instance of a specific object)
 
The keyword New is used in conjunction with Set to create an instance of a Class or RegExp.
 
The keyword Nothing is used to unassign the object reference from the variable or property.
 
Code:
<%
Dim Anyvariable
Set Anyvariable = Server.CreateObject("Scripting.FileSystemObject")
%>
 
<%
Dim SearchPattern
Set SearchPattern = New RegExp
%>

 
<%
Set Anyvariable = Nothing
Set SearchPattern = Nothing
%>


Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information