Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set startup program from command line?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01680586
Message ID:
01680588
Vues:
37
You can't change the behavior of a compiled EXE. If you're running the FoxPro IDE you can specify a command line to open file but even then I don't think you can run one.

However, if this is a custom application you've built you can certainly add a custom command line parameter and check for that commandline, extract a file name, copy the file to disk, compile it and run it on the fly. This is possible to automate pretty easily via code, but there's no way to do this automatically. You could also require an a;readu compiled FXP file or a compiled in file to execute using the same mechanism.


+++ Rick ---

>I have an app that has a .prg like "start_main.prg" set as the startup program in the project.
>
>I'd like to know if there is a way to change that via the command line instead of using the project manager to do it...so if I wanted to change the startup program to "start_main_test.prg" is there a way to do that from command window?
>
>Thanks!
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform