oleobj.createobj
The method creates a new COM object. Example:
oleobj excapp
excapp.createobj( "Excel.Application", "" )
//is equal to excapp.createobj( "{00024500-0000-0000-C000-000000000046}", "" ) |
excapp.flgs = $FOLEOBJ_INT
excapp~Visible = 1
method uint oleobj.createobj (
str name,
str mashine
)
str name,
str mashine
)
Parameters
name | An object name, or the string representation of an object identifier - "{...}". |
mashine | A computer name where the required object is created; if the current string is empty, the object is created in the current computer. |
Return value
If the function succeeds, the return value is 1. If the function fails, the return value is 0.
Related links | Source |