Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word automation detecting save messagebox
Message
From
26/08/2003 14:09:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word automation detecting save messagebox
Miscellaneous
Thread ID:
00823534
Message ID:
00823534
Views:
61
I am automating word through vfp. Is there a way to tell if the messagebox asking the user if they want to save the current document (the one with yes, no, cancel buttons) is currently open?

I want to know this because if word is already open and I get a reference to it using getobject(), but the user has a document open and it has the save messagebox open, when I try to open or create a new document it will just hang there because the user needs to respond to the word messagebox. I would like to be able to detect the messagebox then wait for the user to respond to the messagebox.

any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform