>How can you tell if a program is running within the development environment or as a standalone EXE? I would like my code to restore the screen when exiting my app when run inside the development environment. I don't want to restore the screen (and show the attendant screen flash) if running as an executable.
>
>I tried looking at the SYS() calls but couldn't find anything. I used to be able to do it in FP DOS but I don't know how in VFP 6.
IF _vfp.StartMode = 0
ELSE
ENDIF
--sb--