Information générale
Catégorie:
Codage, syntaxe et commandes
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
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
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