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:20:04
 
 
À
11/02/2004 08:17:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00876178
Message ID:
00876194
Vues:
9
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform