Consultor Eletrônico



Kbase P20802: How to display the MS Word Printer dialog box from Progress
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   09/06/2004
Status: Unverified

GOAL:

How to open the MS Word Printer dialog box from Progress

FIX:

DEFINE VARIABLE chWord AS COM-HANDLE NO-UNDO.
DEFINE VARIABLE chDialog AS COM-HANDLE NO-UNDO.

CREATE "Word.application" chWord .

chWord:Documents:ADD().
chWord:VISIBLE = YES.

/* wdDialogFilePrint = 88 */
chDialog = chWord:Dialogs:ITEM(88).
chDialog:show().


RELEASE OBJECT chDialog.
RELEASE OBJECT chWord.