Try this:
Set Library To FoxTools.Fll Additive
Dimension laAppInfo[12]
GetFileVersion('YourExe.exe', @laAppInfo)
lcVersionNumber = laAppInfo[4]
>How can I get the executable version number (major,minor,revision)?
>
>I now I can set this values using the 'Version' button in the Build Options dialog box, but how can I retrieve them once the executable is running?
ICQ 10556 (ya), 254117