Version of explorer, chrome, firefox..

Version of explorer, chrome, firefox..

Postby Romeo » Fri Jul 08, 2016 4:57 pm

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
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)

Re: Version of explorer, chrome, firefox..

Postby rhlawek » Fri Jul 08, 2016 7:19 pm

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
User avatar
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: Version of explorer, chrome, firefox..

Postby Romeo » Wed Jul 13, 2016 3:19 pm

Many thanks

Here the FWH sample:

obj:=CreateObject("Scripting.FileSystemObject")
cversion:=obj:GetFileVersion("FULL-PATH-EXE-DLL-FILE")
Romeo
 
Posts: 340
Joined: Thu Jan 25, 2007 3:53 pm
Location: Milan (Italy)


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 98 guests