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:
00197168
Views:
19
Dan,

Many thanks for the info.

John

>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
Previous
Reply
Map
View

Click here to load this message in the networking platform