Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameter with .exe file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00363129
Message ID:
00363153
Vues:
22
>Could anyone tell me how to pass a parameter when I run an .exe file ? I am getting an error when I used "do dummy with 'test'". Thanks

Put a LPARAMETERS statement at the top of your Main.PRG. Then you can run from FoxPro like what your doing, you can also run from teh Command Prompt or ShortCut with:

MyApp.EXE UPDATE

where "UPDATE" is teh parameter.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform