Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shellexecute parameters
Message
From
26/09/2003 10:26:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Shellexecute parameters
Miscellaneous
Thread ID:
00832677
Message ID:
00832677
Views:
55
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...
Next
Reply
Map
View

Click here to load this message in the networking platform