The attached code is what we use to get the version number of a file. Call the GetFileVersion method.<br><br>Robo<br><br><div class="gmail_quote">On Wed, Nov 9, 2011 at 1:56 PM, Jeremy Coulter <span dir="ltr"><<a href="mailto:jscoulter@gmail.com">jscoulter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi All.<div>I have a situation where I need to get the version of an app that is running. I know the name of the exe and various classes in the app. and can do things like findwindow() etc. etc.</div>
<div>However, we have just discovered that the exe being used to extract the version of the exe is NOT the same exe that is running !! and its this one we need the version number of.</div>
<div><br></div><div>Can anyone help? (Google didnt help me this time)</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Jeremy</div>
</font></span><br>_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br>