Information générale
Catégorie:
Fonctions Windows API
Well I see you are using library "_environ", which I am not familiar with.
I am using the plain WiNAPI call:
DECLARE INTEGER ShellExecute ;
IN SHELL32.DLL ;
INTEGER nWinHandle,;
STRING cOperation,;
STRING cFileName,;
STRING cParameters,;
STRING cDirectory,;
INTEGER nShowWindow
ShellExecute(0,"print","c:\test.doc","","",1)
>Actually here is the exact code. Those are the parameters that are allowed.
>
>oshell=newobject("_shellexecute","_environ")
>oshell.shellexecute("c:\pa6062\comments\P0000050560000OT.doc","print")
Précédent
Suivant
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