Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Detecting Runtime vs. Development
Message
From
14/04/2003 15:50:47
 
 
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:
00777436
Views:
9
This message has been marked as the solution to the initial question of the thread.
try Vfp6):
?Version(2)
2 Visual FoxPro version type:
0 - Run time version
1 - Standard Edition (earlier versions)
2 - Professional Edition (earlier versions)


hope this helps

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform