Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print MS Word documents from VFP
Message
From
15/05/2007 13:44:18
 
 
To
15/05/2007 13:41:05
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01225671
Message ID:
01225674
Views:
18
>How do you print a MS Word document from within VFP? I want to put a button on a form and when they press it, a MS Word document prints.
oWord=createobject('Word.Application')
oWord.documents.Open(cFilename)
oWord.activedocument.printout
oWord.close(0)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform