Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a VFP.EXE using ShellExecute
Message
From
15/11/2004 12:04:57
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00961234
Message ID:
00961413
Views:
9
Sergey--


>You pass them as 4th parameter of ShellExecute(). See also How to pass parameters to VFP EXE FAQ #17861. For example,
cParams = ["A B C" 2]
>? ShellExecute(0, "", "H:\temp\test.exe", cParams,"",1)
will pass two parameters into EXE. The first one, string "A B C" and the second one, string "2".


Worked like a champ. Thanks.

Tim
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform