Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word Document
Message
 
To
17/11/2000 15:23:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00443225
Message ID:
00443249
Views:
10
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I've spent my entire xBase life without ever having to interact with any of the other inhabitants of my computer. I now find a need to take a Word document and sent it to the printer.

I'd appreciate any help which can get me started.

Thanks to all

.........Rich
>>>>>>>>>>>>>>>>>>>>>>>>>>

One easy way is to use ShellExecute:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0,"open","c:\FileName.doc","","",1)
* or
ShellExecute(0,"print","c:\FileName.doc","","",1)

Regards
Previous
Reply
Map
View

Click here to load this message in the networking platform