Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it running from an EXE?
Message
De
13/02/2012 14:41:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01535265
Message ID:
01535314
Vues:
71
>I would like to know the best way to determine if an application is running form an .exe or is it running in Design / Developer Mode. Currently I compare the value of Home() to Home(1) and Home(8) and make a determination.
>
>I know if I use a parameter and test for the existence in the start_up code, but I believe that lends itself to problems based on how the end user sets up their computer.
>
>This doesn’t seem good enough, however.
>
>Thank you in advance
Have you checked VERSION() ?
? IIF(VERSION(2)==0, "Runtime","stand-alone")
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform