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:
00288701
Vues:
11
>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

A big thanks to everyone. The boiled down answer is below. Another UT victory.
DIMENSION aVersion[1]
xx = getfile()
AGETFILEVERSION(aVersion,xx)
messagebox("The version of " + xx + " is :" + aVersion[4])
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform