Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
De
09/08/2000 15:41:16
 
 
À
09/08/2000 14:49:56
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00402842
Message ID:
00403006
Vues:
18
>(kaff kaff) ... I use dat dere ole-fashioned way.......
>
>oWord=CREATE("Word.Application")
>oDoc=oWord.Documents.Open("c:\my documents\test.doc")
>oDoc.Printout()
>oWord.Quit(0)
>
>>How do you print a Microsoft Word document from within a VFP 6.0 application?

Works if you have Word installed - ShellExecute() works even if all you have is WordPad!!! < nyah! >
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