Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determine if running exe or prg
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00746444
Message ID:
00746450
Vues:
17
>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.

Use VERSION() Function.
IF VERSION(2)==0
   MESSAGEBOX("Running at RunTime")
ELSE
   MESSAGEBOX("Developmnet")
ENDIF
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform