Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
All Functions
CreateObject Function
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information