Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting Runtime vs. Development
Message
 
 
To
14/04/2003 15:46:45
Larry Huisingh
Lockheed Martin Information Technology
Richland, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00777432
Message ID:
00777447
Views:
9
>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
  * Dev
ELSE
  * Not Dev.
ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform