Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compiled Vs. VFP IDE

Status
Not open for further replies.

Shanachie

Programmer
Jun 18, 2000
92
US
Is there a way for a program to determine if it is running as a compiled version or within the VFP IDE? (Is that the right acronym? IDE = Integrated Development Environment) I have a feature (come to think of it, several) that I want to turn off for the users, who run a compiled version but I want to have turned on when I'm running the program from within VFP. I can have a memvar flag that I set or clear but I'd like to have it happen automatically.

Shanachie
 
Shanachie,
Yes, you can use Versin(2) to check this. A result of 0 -> the runtime, and 2 -> the IDE.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top