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-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information