Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use shell execute?
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00792205
Message ID:
00792207
Views:
22
This message has been marked as a message which has helped to the initial question of the thread.
>How can i use shellexecute to run a windows program that require paramaters. I use the following syntax but the program will not execute.
>
>shellexecute('e:\sys\loaddata\load.EXE -cc:\sys.config.vfp')
>
>Regards,
>
>Stuart
DECLARE INTEGER ShellExecute IN "Shell32.dll" ;
    INTEGER hwnd, ;
    STRING lpVerb, ;
    STRING lpFile, ;
    STRING lpParameters, ;
    STRING lpDirectory, ;
    LONG nShowCmd

? ShellExecute(0, "", "e:\sys\loaddata\load.EXE", "-cc:\sys.config.vfp", "", 1)
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform