Promotic

Example of launching external applications

The example shows how to launch various external applications.

- This example is not functional for the Web.
- Located in the Pma objects tree: /Examples/Others/RunApp.


The example contains a single panel (PmaPanel object) with several PmgButton objects. These buttons contain a script in the onButtonUp event. It uses various methods (Pm.CreateProcess, Pm.AxGetObject) in order to launch the corresponding application. In some cases it also uses the application to write into, print its contents, saves it, etc.

For correct functionality of this example it is necessary to have the Excel and Word application installed on the computer.
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.