>>I have a VFP program that uses Automation to run word.
>>
>>I know how to quit word, but how can I verify that the quit really worked.
>Ctrl+Alt+Del opens the task managerRight. But I need to do the check programmatically
>>I know that I can use oword.quit(wdDoNotSaveChanges) to prevent the usual 'Do you want to save the changes' dialog, but I don't have warm fuzzies that this is the only thing that could cause word to pause quitting while waiting for an answer.
>oWord.WindowState = 2 && Minimize
>oWord.displayalerts=.f.
>oWord.Quit
>release oWord
I actually never unHide the word app, so I don't think I need to minimize, correct?
Does the displayalerts completely eliminate the need to check that Word is still running? If not, I'd really like to learn how to check programmatically, if possible.
Thanks.
"The Iron Fish: The water is cold...but the fish don't mind"
...Jay Jenks, boyhood chum