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

              











FUNCTION:  GetObject( )

Implemented in version 2.0
 
GetObject(PathName, Class)
 
The GetObject function is used to access an automation object in a file and to assign that object to a object variable.
 
There are two optional arguments.
 
(PathName, Class)
 
The optional PathName argument is the full path to and the name of object file to be accessed.
 
If the PathName argument is not used, you must use the Class Argument.
 
The optional Class argument is the name of the application providing the object or the class of the object to create.
 
Code:
<% thepath = "C:\subdirectory\myobject.txt" %>
<% Set myobject = GetObject(thepath) %>
<% Set myobject = GetObject(thepath, "MyApplication.SomeObject") %>

 


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