Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shellexecute parameters
Message
De
26/09/2003 10:26:58
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Shellexecute parameters
Divers
Thread ID:
00832677
Message ID:
00832677
Vues:
60
anyone know the precise syntax for passing params to a shellexecutc command?

the following code runs the program but the receiving program is not seeing any parameter

DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin

cAction = "open"
CfILENAME=progname
cParams=startkey
*result=ShellExecute(0,cAction,cFILENAME,startkey,"",1) && version 1
result=ShellExecute(0,cAction,cFILENAME,'"'+startkey+'"',"",1) && version 2

neither "result=" line passes the parameter successfully.

Grateful for any suggestions...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform