Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word Document
Message
From
09/08/2000 18:36:19
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402842
Message ID:
00403128
Views:
30
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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform