Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to detect myapp.exe compiled vfp7 or vfp8
Message
From
22/09/2003 09:58:28
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00831015
Message ID:
00831080
Views:
20
I use this in FPD26->VFP8:
#IF "VISUAL FOXPRO 08" $ UPPER(VERSION())
	SET ENGINEBEHAVIOR 70 
	SET TABLEVALIDATE TO 0   
#ENDIF
>Hi All,
>i am using this code below for to use "set enginbehavior 70" command in my start.prg if myapp.exe compiled vfp8. it runs without error . is this true for detection ?
>
>TIA
>
>
>  lcversion=TRANSFORM(VERSION(4))
>	      lcSearch='8'
>	      lcStatus=ATC(lcSearch,lcVersion)
>		IF  lcStatus # 0
>			SET ENGINEBEHAVIOR 70 &&80 &&vfp7 compatibility
>	WAIT WINDOW "EngineBehavior 70 Using...." TIMEOUT 0.05
>	    ENDIF
>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform