Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing a Word Document
Message
From
09/08/2000 13:30:45
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00402842
Message ID:
00402899
Views:
13
Just to clearify, I am really just a hack... Thanks for your patience.


>>Use the FFC _ShellExecute() class in the _ENVIRON.VCX to do it:

OK, I figured out how to load the _ENVIRON.VCX and select the
_shellexecute as an object to my form.

What do I do with the following code yoiu sent me?

>> oShellExec=NEWOBJECT('_ShellExecute','_environ.vcx')
>> oShellExec('C:\MyRandomDir\MyRandomWordDoc.DOC','','PRINT')

Basically, I want a button on my form. When the user presses the button, I want a Microsoft Word document to print out.
Previous
Reply
Map
View

Click here to load this message in the networking platform