Re: Read a application version number



DIKonsult wrote:
Thanks, but it don't seem to work. All I get is an empty string.

Dag

Hi,

Have your tried using the JCL Components from the Projet Jedi? It has a class called TJclVersionFileInfo which accepts the name of the executable as parameter in the constructor. Within the class is a property called BinFileVersion which returns the version number.

I use this method for my shareware application.

--
Cheers,
Phillip Flores
"Track your time and bill your clients more! Use VeriTime."
http://www.pcfworks.com
.


Quantcast