Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retreiving version of MyApp programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00287706
Message ID:
00287714
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform