Method: CreateObject for VBS
- Updated2024-09-12
- 1 minute(s) read
Methods > Method: CreateObject for VBS
Method: CreateObject for VBS
Creates an automation object.
Set vCreateObject = Object.CreateObject(classValue, [ServerName])
| Object | VBS Object with this method. You do not need to specify this object. |
| classValue | Variant Specifies the name of the automation object. You enter the automation object in the form Servername.Classname. |
| [ServerName] | Specifies the storage location. |
| vCreateObject | Variant 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")
See Also
Related Topics
CodeCompletion | Command: ScriptCMDRegister | Method: GetObject for VBS | Registered Type Libraries
