Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect program running under IDE for debug use
Message
De
11/02/2004 08:34:10
 
 
À
11/02/2004 08:25:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00876178
Message ID:
00876203
Vues:
12
Hi,

I think it's the same for this purpose. I've always used version()

>Hi,
>
>Thank, just like to know which
>way is better, using version or application.startmode
>
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform