views:

50

answers:

3

Is the best way to look under the Uninstall key of the Windows Registry? Is there a Microsoft API call which provides this info and is it supported from XP onwards?

What is the best way to detect which version of Internet Explorer is installed on the local machine?

+3  A: 

You have to look in the registry, but not in uninstall key. Instead, find the key at HKLM\Software\Microsoft\Internet Explorer and read the value named Version.

Andrea Parodi
Surprisingly enough, there's no API for this, and checking this registry key is generally accepted as the best choice.
EricLaw -MSFT-
+2  A: 

If you require to know the IE version into a web application you can get the User-Agent or use javascript:

You got here a Microsoft sample of how to get the internet Explorer version http://msdn.microsoft.com/en-us/library/ms537509(VS.85).aspx

If you require to detect the IE Version into a Desktop program with X language you need to read the Windows registry

This registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer contains the attribute Version with the IE version

Dubas
A: 

To find IE version, open Internet Explorer and goto Help, click on About Internet Explorer.

Meryl
OP is talking about do this programmatically
abatishchev
Surely this site is for programming related problems? Thanks for trying, please try again.
Maltrap