Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ShellExecute mutliple parameters
Message
From
09/01/2003 16:53:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00739995
Message ID:
00740058
Views:
18
>>Hi - I'm launching one vfp exe from another using shellexecute - how can I pass multiple parameters to the second exe when I do this?
>>
>>TIA,
>
>Use the lparameters string and don't use commas, but rather spaces to separate them.

Ok - I'm getting a result of 2 (Bad Association) Exact call is
DECLARE INTEGER ShellExecute ;
		IN SHELL32.DLL ;
		INTEGER,;
		STRING,;
		STRING,;
		STRING,;
		STRING,;
		INTEGER

? ShellExecute(0,'Open','myapp.exe',"'a' 'b' 'c' 'd' 'e' 'f'","",1)
Ideas?


OOPS! Never Mind .......
Ken B. Matson
GCom2 Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform