&#22914;&#20309;&#21457;&#24067;IE&#25511;&#20214;

Beginning with Microsoft?Internet Explorer 4.0, application developers who want to redistribute Internet Explorer technologIEs梥uch as the WebBrowser Control, Wininet.dll, Urlmon.dll, or Comctl32.dll (or Common Controls DLL)梞ust obtain a royalty-free redistribution license for Internet Explorer and download a copy of the Internet Explorer Administration Kit (IEAK) through the IEak/en/default.asp">IEAK Web Site.

• IE_browser_version">Determining the Installed Version of Internet Explorer
• IE_needed">Adding an Application to the Warning List When Uninstalling Internet Explorer
• Related Topics

IE_browser_version>Determining the Installed Version of Internet Explorer

If your application requires Internet Explorer services, you must determine the version of Internet Explorer installed on the local system before installing your application. There are two methods that can be used to determine the installed version of Internet Explorer. The first obtains the version information from the registry, and the second obtains the version information from one of the Internet Explorer components.

Determining the Internet Explorer Version from the Registry

To obtain the installed Internet Explorer version from the registry, open the following registry key:

HKEY_LOCAL_MACHINE    Software       Microsoft          Internet Explorer

In this key, obtain the Version value. This is a string value that contains the Internet Explorer version in the following format:

"<major version>.<minor version>.<build number>.<sub-build number>"

Additionally, this registry key contains a Build value, a five-character entry that takes the following format:

"<major version><build number>"

The following are the versions of Internet Explorer and the Version and Build values they return.

Internet Explorer VersionVersion ValueBuild ValuePrior to 4.0N/AN/A4.04.71.1712.6417124.014.72.2106.8420164.01 SP14.72.3110.34311055.00.2014.0216520165.55.50.4134.0100541346.0 Public PrevIEw6.0.2462.0000624626.0 Public PrevIEw Refresh6.0.2479.000662479.00066.0 RTM6.0.2600.000062600

Determining the Internet Explorer Version from Shdocvw.dll

Because the Internet Explorer browser is implemented in Shdocvw.dll, the version of this dynamic-link library (DLL) can be used to determine which version of Internet Explorer is installed. The absence of this file in the system indicates that Internet Explorer is either not installed or not installed properly.

The following are the versions of Internet Explorer and their corresponding versions of Shdocvw.dll.

Internet Explorer VersionShdocvw.dll Version1.0 (Plus!)4.40.3082.04.40.5203.04.70.11553.0 (OSR2)4.70.11583.014.70.12153.024.70.13004.0 Platform PrevIEw 1.0 (PP1)4.71.5444.0 Platform PrevIEw 2.0 (PP2)4.71.1008.34.04.71.1712.64.014.72.2106.84.01 SP14.72.3110.35 Beta5.00.0010.130955.00.2014.02165.55.50.4134.1006.0 Public PrevIEw6.00.2462.00006.0 Public PrevIEw Refresh6.00.2479.00066.0 RTM6.00.2600.0000

The following function retrIEves the major and minor version numbers of the Shdocvw.dll currently installed on the local system.

Show Example