Consultor Eletrônico



Kbase P26432: How to start Corel WordPerfect from 4GL?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   04/06/2003
Status: Unverified

GOAL:

How to start Corel WordPerfect from 4GL?

FACT(s) (Environment):

Windows 32 Intel

FACT(s) (Environment):

Progress 9.x

FIX:

The following 4GL code snippet demonstrates how to start Word Perfect, Maximize its Window and Quit the application:

DEFINE VARIABLE h_WordPerfect AS COM-HANDLE NO-UNDO.

CREATE "WordPerfect.PerfectScript" h_WordPerfect.
h_WordPerfect:AppMaximize().
h_WordPerfect:QUIT().

For information on the syntax of the numerous WordPerfect methods, consult your Wordperfect documetation.