Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to call another windows program
Message
 
 
À
08/07/1998 23:32:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115573
Message ID:
00115585
Vues:
12
Gary,

On my website under Q&A, General is an article about using the ShellExecute() API call.

With RUN and arguments you have to use macros to get them to work right, the ShellExecute() is much easier to get working.

>Other than using the RUN /N command to run a windows based program, how you can you call it and pass parameters (Command line) to it? The command line version of:
>
>PrgStr = + " " +
>RUN /N PrgStr
>
>This does not work as the RUN command will not accept a string variable to run with and with that you can't change the parameters that need to be passed. I have already tried DDE and its not a compatible program.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform