Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute
Message
 
À
04/10/2001 16:41:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00564405
Message ID:
00564697
Vues:
16
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
Fil
Voir

Click here to load this message in the networking platform