Previous - Microsoft PowerPoint Section Home - Microsoft PowerPoint Next - pptLaunch


pptInstalled ( )

Determines if PowerPoint application or PowerPoint Viewer 97 is installed in the target system

Usage:

pptInstalled (object me, integer appType)

Parameters:

appType (integer) - 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:

(boolean)

1- application installed
0- application not installed

Example:

xtRose = xtra("Rosetta").new( )
if ( xtRose.pptInstalled(1) = 0 ) then
  alert "PowerPoint not found"
  abort
end if

Notes:

PowerPoint viewer have a limited set of features. To ensure that Rosetta's features are available on the target system, first check the type of PowerPoint application that is installed.


Previous - Microsoft PowerPoint Section Home - Microsoft PowerPoint Next - pptLaunch