Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it running from an EXE?
Message
From
13/02/2012 14:41:55
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01535265
Message ID:
01535314
Views:
62
>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")
Previous
Reply
Map
View

Click here to load this message in the networking platform