Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Previewing in Word only
Message
 
 
To
10/07/2001 00:13:38
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00528482
Message ID:
00529677
Views:
8
>From VFP, we are using Word automation to preview a document. Once we open the document, we update some fields in the Word document and issue the preview after. Is there a way to do the same but to restrict the Word process to the preview only? Because, as soon as the user closes the preview, he enters in the Word document.

In addition to what Vlad said, you might try using VFPCOM to trap Word's events. When they close the print preview window, I'd assume that WindowActivate, WindowDeactivate and/or WindowSelectionChange would fire, and you could then shut down Word.

- della
Previous
Reply
Map
View

Click here to load this message in the networking platform