Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Params Through ShellExecute
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00691671
Message ID:
00691689
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Not sure I understand this syntax.
>
>I have procedure which accepts 3 params:
>sInstLoc - Path to installation location
>sNetLoc - A Path to a location on the network
>sAppTitle - Title of the application
>
>All 3 will have spaces in them. So I do:
>
>=Shellexecute(0,"",cRestarter",["sInstLoc" "sNetLoc" "sAppTitle"],"",1)
>
>Doesn't seem right to me
lcParam = ["] + sInstLoc + [" "] + sNetLoc  + [" "] + sAppTitle + ["]
=Shellexecute(0,"",cRestarter, lcParam ,"",1)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform