DIAdem Help

Method: CreateObject for VBS

  • Mise à jour2024-09-12
  • Temps de lecture : 1 minute(s)

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")