Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindEvents question
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00511846
Message ID:
00511925
Views:
12
Hi!

You can close document with some options to do nto save it (or even do not prompt).
Far ago it was a big problem for me too, because these messageboxes in the Word spoil the automated services that generate documents in my application, so they hang up. We read a lot about each function in the Help for Word automation objects, and did this using special parameters, options etc. for Word. Now it works, but still not reliable...

>Hi all,
>
>I have a vfp app that automates word to open a document and set print preview mode to .T.
>
>I have 2 quesitons:
>
>1 Is there anyway to automatically close down the activedocument that's in print preview mode when user gets out the preview mode?
>
>2 If the answer is no to Item 1. How should I use bindevents to at least bypass the save prompt from word when a. close document and/or b. quit out of word.
>
>All help is appreciated
>
>Thanx
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform