LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get version of EXE built outside of LabVIEW

Solved!
Go to solution

Hi,

 

I was looking for a way to read the "Versions" File property of an EXE that was built in C++  (or any other EXE).  I would like my application to read it programmatically instead of having the information in some other file that my application reads.

 

Thanks,

Gary

0 Kudos
Message 1 of 2
(2,179 Views)
Solution
Accepted by topic author glstill

Hello glstill,

 

There is a pretty good discussion of that problem as well as a few possible solutions using .NET or the WinAPI offered in this thread from 2006:

 

LabVIEW thread: File version info

http://forums.ni.com/t5/LabVIEW/File-version-info/m-p/361945?jump=true

 

Some of the .NET information may be out of date, but the discussion is relevant and a few people have provided code to do more or less what I think you're looking for.

 

Another pretty clean looking and more recent example is available here on the NI Developer Community:

 

Example: Get File Version Information for EXE’s and DLL’s

https://decibel.ni.com/content/docs/DOC-13866

 

Best Regards,

Tom L.
Message 2 of 2
(2,158 Views)