Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disallow user from quitting Word
Message
 
 
To
30/11/2000 19:51:49
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00447804
Message ID:
00447949
Views:
7
>I'd like to use the simple method for print preview presented in MS OA with VFP but I want to prevent the user from manually quitting the Word instance when done previewing (and perhaps printing). This will allow my VFP app to do a controlled shutdown of Word.

Like Barbara said, I haven't had any problems with users shutting down on their own; in fact, they consider that a "feature."

However, sounds like your case is a bit different, and if you MUST be a control freak <g>, try using VFPCOM. I know you've got a copy of AutoFox--see Chapter 13, "Inter-Office Communication" for more information. [Those of you lurking without the book, search for VFPCOM on the MSDN.] VFPCOM can capture Word's events, and attach VFP code to them.

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform