Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

VBScript GetObject Function

VBScript GetObject Function


VBScript reference manual Complete VBScript Reference Manual


The GetObject function returns a reference to an automation object in a file.

Syntax

GetObject([pathname][,class])

Parameters Description
pathname Optional. The full path and name of the file containing the automation object. If this parameter is omitted, the class parameter is required.
class Optional. The class of the automation object. This parameter uses the syntax: appname.objectype.

VBScript reference manual Complete VBScript Reference Manual