>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?
If you are including foxtools.fll there is a function in it called GetFileVersion() which you pass an array and you get back information on the version and other stuff. You can look this up in foxtools.hlp. There is all so an api call to "BOOL GetFileVersionInfo(lpszFile, dwHandle, cbBuf, lpvData)" but I think the foxtools is much easier.
Charles
"The code knows no master." - Chuck Mautz
"Everybody is ignorant, only on different subjects." - Will Rogers