Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
De
09/08/2000 13:30:45
 
 
À
09/08/2000 12:28:35
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00402842
Message ID:
00402899
Vues:
14
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
Fil
Voir

Click here to load this message in the networking platform