Information générale
Catégorie:
COM/DCOM et 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.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement