Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect program running under IDE for debug use
Message
From
11/02/2004 08:20:04
 
 
To
11/02/2004 08:17:13
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00876178
Message ID:
00876194
Views:
8
Virusim,

this any better ?
*---------------------------------------------------------------------------
function IsRunTime()
	return empty(Version(2))
endfunc
*---------------------------------------------------------------------------
>Hi
>Thank but under VFP8 IDE command box,
>? version(2) return me only 2.
>
>Anyway, I find the way using
>
>Application.StartMode
>
>Sorry,I still can't understand
>how to use Version()
>
>
>
>
>>From help:
>>Visual FoxPro version type:
>>0 - Run time version
>>1 - Standard Edition (earlier versions)
>>2 - Professional Edition (earlier versions)
>>
>>MartinJ
>>
>>>Hi,
>>>
>>>Thank for your advise, but I don't get it.
>>>Sorry, Using ? version(2) in my IDE give 2
>>>
>>>How do I use it, pls explain if possible
>>>with code example. Thank you
>>>
>>>>Hi Virusim,
>>>>
>>>>See in help at function VERSION(n) where n=2.
>>>>
>>>>MartinJ
>>>>
>>>>>Hi,
>>>>>
>>>>>If I need to use the VFP8 IDE for debugging, any
>>>>>way for my application to auto detect it and set the
>>>>>environment on my system for debugging. If my program
>>>>>is running as standalone, use another environment
>>>>>for running.
>>>>>
>>>>>Any advise or help is very much appreciated.
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform