Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining EXE version
Message
 
 
To
16/07/2003 20:14:10
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00810908
Message ID:
00810911
Views:
12
>How can I determine what version of VFP was used to create an executable?

Jeff,

You can look for string "VisualFoxProRuntime." in the exe. VFP version used to create exe follows it.
lcExeName = "test.exe"
lcSearchStr = "VisualFoxProRuntime."
lcBuffer = FILETOSTR(lcExeName)
lcVFPversion = SUBSTR(lcBuffer, ;
			AT(lcSearchStr, lcBuffer) + LEN(lcSearchStr),1)
? lcVFPversion 
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform