>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")