Information générale
Catégorie:
COM/DCOM et 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement