DIAdem Help

Method: CreateObject for VBS

  • Updated2024-09-12
  • 1 minute(s) read

Method: CreateObject for VBS

Creates an automation object.

Set vCreateObject = Object.CreateObject(classValue, [ServerName])
ObjectVBS
Object with this method. You do not need to specify this object.
classValueVariant
Specifies the name of the automation object. You enter the automation object in the form Servername.Classname.
[ServerName]Specifies the storage location.
vCreateObjectVariant
Receives the returned object.
Note  The CreateObject might lead to issues in the analysis automation. Refer to Analysis Automation: Genral for further information.

The following example creates a FileSystemObject object. You can use this object to access the file system of your computer:

Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")

Log in to get a better experience