>>>>>How do I access the version number assigned to an executable when I build it? I would think it would be something like _VERSION, but no such thing exists. Thanks for your help.
>>>>
>>>>Once the .exe is built you can use
>>>>
>>>>AGETFILEVERSION(ArrayName, cFileName)
>>>
>>>This works in VFP6, how can I get it get the build version in VFP5. AGETFILEVERSION() was not introduced until VFP6.
>>
>>Hi Jim,
>>
>>Prior to 6.0, the function GETFILEVERSION() was available in the Foxtools library. It's in the documentation that ships with the help file for the library, or you can get use my Extended Foxtools Help file available for download from here.
>
>Thanks much!
You can also use GetBuild program from the Files Section/WIN32API & others APIs
It also uses API calls, but does not require FOXTOOLS.FLL
Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison