LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

display project version

I have looked and can't find anything on how I can display the project version on the front panel. (Project version I mean the same version that the Installer version uses). I have the Installer version checked to auto increment after each final build and I would like to know if there is a way I can display that same version on the front panel of the program for a quick easy of seeing what version is installed all the time.
0 Kudos
Message 1 of 2
(3,247 Views)

There is no easy way to do this using any of the CVI built in libraries, as far as I am aware.  I use the GetFileVersionInfoSize() and the GetFileVersionInfo() functions in through the Windows SDK, which should do what you want.  There is an example of how to do this in:

C:\Program Files\National Instruments\CVI71\samples\sdk\verinfo\

If you are using CVI 7.1 - I assume that other versions probably have it stashed somewhere similar.

0 Kudos
Message 2 of 2
(3,240 Views)