General information
Category:
COM/DCOM and OLE Automation
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only