03-18-2013 10:03 AM
I have seen the discussions about finding the EXE Build Number using .NET or dll calls. Do any of the newer versions of LabVIEW have this property built in (so that I could call it in my app)? Seems like such a common necessity, not sure why it hasn't been included (or else I just can't find it, I've looked everywhere for it...). Thanks for the help in advance.
Solved! Go to Solution.
03-18-2013 10:10 AM
There is something built-in, although it does use a DLL call - vi.lib\platform\fileVersionInfo.llb
As far as I know, that should retrieve the version number you set in the build.
03-18-2013 10:14 AM
Theres is a Windows-only VI that will get the version number of an EXE or DLL. It is located at - vi.lib\Platform\fileVersionInfo.llb\FileVersionInfo.vi. Here is the documentation from the VI:
"This VI obtains information about an existing executable or DLL (such as its version and product name). It can be called as a subVI from a VI that will be built into an executable to obtain information about that executable.
To obtain version information about an existing executable or DLL, enter a path to an application into "Application Path in" and run the VI."
03-18-2013 10:26 AM
I assume this can be called from within the application (say to be displayed on an About... splashscreen or something)?
Thanks to you both for the help.