Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get the version in my executables?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00167228
Message ID:
00167767
Views:
25
Or if you are using a version pre VFP6.0 use something like the following:

set library to "FOXTOOLS.FLL" ADDITIVE
dimension fileinfoarray(12)
if getfileversion(pathtofile+"nameoffile.exe",@fileinfoavearray)=0 then
version=alltrim(fileinfoarray(4))
else
version="BETA"
endif
release fileinfoarray

Version VFP6.0 also has:
=AGETFILEVERSION(ArrayName, cFileName)

Hope this help...
Previous
Reply
Map
View

Click here to load this message in the networking platform