Previous - pptInstalled Section Home - Microsoft PowerPoint Next - pptNewBlank


pptLaunch ( )

Launch Microsoft PowerPoint application as a background process

Usage:

pptLaunch (object me, integer appType)

Parameters:

appType (integer) - Optional parameter - The application type to test for. Valid values are:

  1. PowerPoint Application ( any version installed on system )
  2. PowerPoint Viewer 97
  3. PowerPoint 97 Application
  4. PowerPoint 2000 Application
  5. PowerPoint 2002 Application
  6. PowerPoint 2003 Application

Returns:

(integer) - The success code

Example:

xtRose = xtra("Rosetta")New( )
xtRose.pptLaunch( )

Notes:

Works with PowerPoint Viewer

When Microsoft PowerPoint is launched, it is launched as a background service. The window is hidden and not visible to the end user. When appType parameter is ommited, the default search order for launching any version of PowerPoint application registered on the machine. If not found, PowerPoint viewer will be tried.


Previous - pptInstalled Section Home - Microsoft PowerPoint Next - pptNewBlank