In the Project window, go to Build >> Target Settings >> Version Info, and enter the desired version in the format shown (1,0,0,0). You will need to update this manually whenever you create a new version.
To read the version info, you can use the Windows SDK function GetFileVersionInfo. Look at the sample project ..\samples\sdk\verinfo\verinfo.prj that ships with CVI. If you want to put the version info in the title bar, use SetPanelAttribute to set ATTR_TITLE.