General information
Category:
COM/DCOM and OLE Automation
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only