Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get the version in my executables?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00167228
Message ID:
00167767
Vues:
21
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...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform