Previous - pptPrint Section Home - Microsoft PowerPoint Next - Microsoft Excel


pptErr ( )

Retrieves a string message for detailed information on the last error

Usage:

pptErr (object me )

Parameters:

None

Returns:

(string) - Detailed error description provided by the PowerPoint application

Example:

xtRose = xtra("Rosetta").new( )
xtRose.pptLaunch( )
xtRose.pptSetVisible( 1 )
if ( xtRose.pptOpen( "C:\myPresentation.ppt" ) <= 0 ) then
  alert xtRose.pptErr( )
end if

Notes:

The detailed error is provided by the PowerPoint application, and provides insights into why the last operation failed. Please note that not all failures are the result problems with PowerPoint. As an example, using an invalid path is caught by Rosetta's internal error checking.

See Also:

Error Codes


Previous - pptPrint Section Home - Microsoft PowerPoint Next - Microsoft Excel