Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Maximizing Word
Message
 
À
11/05/2000 14:38:30
Todd Wolfe
Certified Marketing Services
Kinderhook, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00367585
Message ID:
00369167
Vues:
22
In addition to what John said, you can also use the '0' parameter with Printout() to turn off background printing. This is sometimes helpful to be able to exit Word when done printing, without killing the print job. For example:

loWord.ActiveDocument.Printout(0) && Turn off bg printing; Word will not return until done.
loWord.Documents.Close(0) && Close document with no prompts.
loWord.Application.Quit(0) && Quit Word with no prompts.

>This did it but its real odd. Now before this I just switched it by saving it and then reopening by creating an object using word.basic. This allowed me to open it with all toolbars showing. The only problem it was slower because I needed to drop my connection and recreate it. After that I also gave the user an option to print it and then quit word without them viewing it on the screen. If they choose to view it on the screen I used app.show with word.basic istead of visible. How I can I my document print and quit using word.application? Using word.basic I could do word.FilePrint and word.FileQuit?
>
>Thanks again for you help
>Todd
Mike C.
-------
I keep trying to find a life of my own, apart from you.
DC Talk/Charlie Peacock, In the Light.
www.risensystems.com/ra/itlbegin.rm
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform