Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word Document
Message
From
09/08/2000 15:41:16
 
 
To
09/08/2000 14:49:56
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402842
Message ID:
00403006
Views:
17
>(kaff kaff) ... I use dat dere ole-fashioned way.......
>
>oWord=CREATE("Word.Application")
>oDoc=oWord.Documents.Open("c:\my documents\test.doc")
>oDoc.Printout()
>oWord.Quit(0)
>
>>How do you print a Microsoft Word document from within a VFP 6.0 application?

Works if you have Word installed - ShellExecute() works even if all you have is WordPad!!! < nyah! >
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform