Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Version of Myprogram.exe
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00104350
Message ID:
00104354
Vues:
22
>Hi,
>
>Where I can find the version of my program.exe during the execution? I can find it in project.pjx table in the field devinfo altough is not a good solution for user who has only program.exe.
>
>Tanks in advance
>Daniela
Foxtools has a function (GetFileVersion) that allows you to retrieve this, and other information, that you can store in the file (via the Project Manager). The syntax is:
DIMENSION a_info[12]
lnresult = GetFileVersion(cFileName, @a_info)
The version is returned in the array's 4th element. The download section here at the UT has a complete crossed referenced FoxTools help file which has this and other information on this and the other functions.

hth,
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform