What advantages do you see to VFP handling the Word shutdown? I've found that I have no problems with letting users handle their own additions/changes to a document VFP produces. I can release the VFP object without a problem with the open application.
Barbara
>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.
>
>I've seen this kind of behavior (can't quit word when run from VFP) before, but I cannot remember how it happened. I think it had something to do with firing up Word from a linked General Field. I think I even recall Word's file menu presenting some king of option like 'Quit to Visual FoxPro'...or some such. Just can't figure out how to repeat what I saw (manually or programmatically).