>Right now I have the version number hard coded into the start of a program. I'm generating a lot of versions for testing and I sometimes forget to change the version - so it's not clear which one an enduser is testing.
>
>I can set the project build to auto increment the version number, is there any way that I can include that into the source, or perhaps find it at run time?
See AGETFILEVERSION() function
IF AGETFILEVERSION(aFileInfo, _VFP.ServerName) > 0
lcVersion = "Ver. " + aFileInfo[11]
ELSE
lcVersion = "Unknown"
ENDIF
--sb--