Página 1 de 1

Open PowerPoint File

Publicado: Vie May 27, 2011 12:31 pm
por Maarten Roos
Dear all!
What is the command to open a file within PowerPoint?
TRY
oPowerPoint := GetActiveObject( "PowerPoint.Application" )
CATCH
TRY
oPowerPoint := CreateObject( "PowerPoint.Application" )
CATCH
Alert( "ERROR! PowerPoint not available. [" + Ole2TxtError()+ "]" )
RETURN NIL
END
END
oPowerPoint:Presentations:Open(cFullFileName)
Well, found it. I have to make it first visible and then open the file!