Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing a Word Document
Message
 
À
17/11/2000 15:23:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00443225
Message ID:
00443249
Vues:
17
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I've spent my entire xBase life without ever having to interact with any of the other inhabitants of my computer. I now find a need to take a Word document and sent it to the printer.

I'd appreciate any help which can get me started.

Thanks to all

.........Rich
>>>>>>>>>>>>>>>>>>>>>>>>>>

One easy way is to use ShellExecute:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0,"open","c:\FileName.doc","","",1)
* or
ShellExecute(0,"print","c:\FileName.doc","","",1)

Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform