Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if running exe or prg
Message
De
28/01/2003 17:04:52
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00746444
Message ID:
00746453
Vues:
25
>Is there a way to determine if I'm running an EXE or PRG in code ?
>
>I'm trying to find a way for the developers to continue running the PRG, with some custom code inserted, and no custom code when the EXE is run.
>
>TIA


I use:

JustExt(Sys(16,1))

When running a Program, this will return "FXP" and when running Executable, returns "EXE". Also, returns "APP" for running a VFP application.

Hope this helps.

Don
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform