>>There's a function in foxtools.fll called GetFileVersion. You can use it like this:
>>
>>DIMENSION laVersion[12]
>>SET LIBRARY TO FOXTOOLS.FLL ADDITIVE
>>GetFileVersion('myprog.exe',@laVersion)
>>?laVersion[4]
The array contains other info about the executable as well (company, copyright, etc.).
>>
>>>Hey there,
>>>
>>>The project file contains version info that gets folded into the EXE during the build. How can I get to that from within the program at run time?
>>>
>>>I've got an About Box that I would like to put this information into so that it updates automatically.
>>>
>>>Thanks
>
>
>In VFP 6.0, you can use the native AGETFILEVERSION() function. No need to use FoxTools.
Watch out for the difference in the return value of the functions though. GETFILEVERSION returns 0 if it works. AGETFILEVERSION returns the number of elements in the array.