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 object 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.