Kbase P86215: How to start MS PowerPoint from Progress 4GL?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  28/10/2004 |
|
Status: Unverified
GOAL:
How to start MS PowerPoint from Progress 4GL?
FACT(s) (Environment):
Windows
Progress 9.x
OpenEdge 10.x
FIX:
DEFINE VARIABLE hPowerPoint AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE lResult AS LOGICAL NO-UNDO.
CREATE "PowerPoint.Application" hPowerPoint.
ASSIGN
hPowerPoint:VISIBLE = TRUE
lResult = hPowerPoint:Presentations:Open("C:\Documents and Settings\yshanshi\My Documents\CrystalReportsPresentation.ppt", true,true,true).
RELEASE OBJECT hPowerPoint.