Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
De
09/08/2000 18:36:19
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00402842
Message ID:
00403128
Vues:
31
Works Perfect!! Thanks

One more question...

If I want to print several Microsoft Word documents, do I have do all of this code for every document?. Or can I open Wrod, open all of the documents I need to print, print them, and then close Word?


oWord=CREATE("Word.Application")
Word.Options.PrintBackGround = .F.
oDoc=oWord.Documents.Open("c:\my documents\test.doc")
oDoc.Printout()
oWord.Quit(0)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform