Promotic

AxGetObject - method of the Pm object

Description:
Creates a reference to ActiveX object.
Syntax:
Object AxGetObject(String Type, String Class)
Parameters:
Type(String) Reference type. Currently implemented "new" = creating new object.
Class(String) Identifier (class) of the object.
Note:
This method is not functional in Web panels.
See also:
- VBScript.GetObject (function)
Example:
Creates a reference to ActiveX and HTTPRequest object
JavaScriptSelect and copy to clipboard

var oReq = Pm.AxGetObject("new", "Microsoft.XMLHTTP");

History:
Pm9.00.01: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
Navigation:
 
- Pm
 
- Abs
- AxGetObject
 
 
- Cos
- E
- Exp
- LN2
- PI
- Pow
- Sin
- Tan
© MICROSYS, spol. s r.o.