如何发布IE控件[1]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 technofantasy 的 blog

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 web site.

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 version version value build value
prior to 4.0 n/a n/a
4.0 4.71.1712.6 41712
4.01 4.72.2106.8 42016
4.01 sp1 4.72.3110.3 43110
5 5.00.2014.0216 52016
5.5 5.50.4134.0100 54134
6.0 public preview 6.0.2462.0000 62462
6.0 public preview refresh 6.0.2479.0006 62479.0006
6.0 rtm 6.0.2600.0000 62600

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 version shdocvw.dll version
1.0 (plus!) 4.40.308
2.0 4.40.520
3.0 4.70.1155
3.0 (osr2) 4.70.1158
3.01 4.70.1215
3.02 4.70.1300
4.0 platform preview 1.0 (pp1) 4.71.544
4.0 platform preview 2.0 (pp2) 4.71.1008.3
4.0 4.71.1712.6
4.01 4.72.2106.8
4.01 sp1 4.72.3110.3
5 beta 5.00.0010.1309
5 5.00.2014.0216
5.5 5.50.4134.100
6.0 public preview 6.00.2462.0000
6.0 public preview refresh 6.00.2479.0006
6.0 rtm 6.00.2600.0000

本文关键:Licensing,Distribution,发布,Internet Explorer
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top