Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE & MS Word & printing a document
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00195868
Message ID:
00195879
Views:
18
Try this:

oWord = createobject('word.application')

oWord.documents.open(<>)
oWord.activedocument.Printout()
oWord.activedocument.Close(.f.)

oWord = ""

>I would like to print a MSword document automatically from within Foxpro. How whould I do this or is it even possible?
>I know how to use "doverbs" but doverbs only allows me to launch MSWord through OLE. I then have to print the document manually. Can somebody please point me in the right direction.
>
>Thanks
>
>John King
>tolait@saol.com
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform