Page 1 of 1

Version of explorer, chrome, firefox..

PostPosted: Fri Jul 08, 2016 4:57 pm
by Romeo
Hi,

is it possible to get version information on IEXPLORER.EXE, CHROME.EXE,FIREFOX.EXE and all others application ?

I need to know wath release is running of the above application !

(manually, i get this infromation by clicking the the right button of mouse)

tks

Re: Version of explorer, chrome, firefox..

PostPosted: Fri Jul 08, 2016 7:19 pm
by rhlawek
Assuming you only need the functionality on windows it is very easy to get version info using WMI. The link goes to a non-harbour example, but the concepts are simple to port.

https://blogs.technet.microsoft.com/heyscriptingguy/2005/04/18/how-can-i-determine-the-version-number-of-a-file/

Robb

Re: Version of explorer, chrome, firefox..

PostPosted: Wed Jul 13, 2016 3:19 pm
by Romeo
Many thanks

Here the FWH sample:

obj:=CreateObject("Scripting.FileSystemObject")
cversion:=obj:GetFileVersion("FULL-PATH-EXE-DLL-FILE")