Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retreiving version of MyApp programmatically
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00287706
Message ID:
00287714
Vues:
23
Try something like this:

Set Library To FoxTools.Fll Additive
Dimension laAppInfo[12]
GetFileVersion('myApp.Exe', @laAppInfo)
lcVersion = 'Version: '+ AllTrim(laAppInfo[4])

That will give you the build number you setup when you compiled the .exe.

>From within vfp can I get to the application model? Or alternately how would I display the version in my screens? App.VersionStuff would have been the prefered method... However, since it doesn't seem to be an option what are we the industry doing? Surely not hard coding and remembering to incriment the constant...
>
>AdvThanksance
ICQ 10556 (ya), 254117
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform