>Is there any slick way to determine if an app is running in runtime mode (from an exe) or from development (inside VFP) ?
>
>I'd like to have the app determine this and change a few settings accordingly - is there an easy way to do this?
VERSION(2) will tell you this. It returns 0 for runtime; 1 or 2 when you are in VFP itself. 1 was standard edition and 2 professional edition in earlier versions of FoxPro. I always get 2 from VFP