VBScript GetObject Function

Definition and Usage

The GetObject function can return a reference to the Automation object in the file.

Syntax

GetObject([pathname][,class])
Parameter Description
pathname Optional. The full path and name of the file containing the automation object. If this parameter is ignored, the class parameter must be present.
class Optional. Class of the automation object. This parameter uses the following syntax: appname.objectype.