Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use shell execute?
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00792205
Message ID:
00792207
Vues:
21
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform