Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
De
09/08/2000 12:28:35
 
 
À
09/08/2000 12:15:11
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00402842
Message ID:
00402855
Vues:
16
>How do you print a Microsoft Word document from within a VFP 6.0 application?

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

oShellExec=NEWOBJECT('_ShellExecute','_environ.vcx')
oShellExec('C:\MyRandomDir\MyRandomWordDoc.DOC','','PRINT')
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform