Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvents question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00511846
Message ID:
00511925
Vues:
13
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform