CreateObject( )
| Action: | CreateObject launches (if necessary) the OLE Automation server and returns a handle through which
an OLE Automation object can be manipulated. |
| Syntax: | CREATEOBJECT
(“serverclassname.typename") |
| Parameters: |
ServerClassName The name of the application providing the object. TypeName |
| Returns: |
If the function succeeds it returns the handle to the object. If the function fails, it returns 0. |
| See Also: |
GetObject(
) |
| Example: |
$ObjectHandle = CreateObject("WScript.Shell")
|