Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Version of Myprogram.exe
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00104350
Message ID:
00104354
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform