Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running external program
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01051001
Message ID:
01051035
Vues:
22
>This process may run as a batch process. Right now I'm testing it from GUI, but we may want to try it to run in batch mode. However, I don't want to make this program slower than it has to be. Can you find out from prg the name of exe that called it? If it's batch, let it fail, otherwise we may use your suggestion and ask user for file location.

One of following should provide you with an answer: PROGRAM(), SYS(16), _VFP.ServerName, ASTACK().

Another solution would be to store the location of the program in question in the registry or INI file at the time of installation.
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform