Will the IE9 WebBrowser Control Support all of IE9's features, including SVG?

前端 未结 12 1539
后悔当初
后悔当初 2020-11-22 06:34

I recently upgraded to IE9-beta. Now, In my .Net (3.5) WinForm application I want to use WebBrowser control.

So my question is, whether the WebBr

12条回答
  •  不要未来只要你来
    2020-11-22 06:48

    Just to be complete...

    For 32 bit OS you must add a registry entry to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
    

    *******OR*******

    For 64 bit OS you must add a registry entry to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION
    

    This entry must be a DWORD, with the name being the name of your executable, that hosts the Webbrowser control; i.e.:

    myappname.exe (DON'T USE "Contoso.exe" as in the MSDN web page...it's just a placeholder name)

    Then give it a DWORD value, according to the table on:

    http://msdn.microsoft.com/en-us/library/ee330730(v=vs.85).aspx#browser_emulation

    I changed to 11001 decimal or 0x2AF9 hex --- (IE 11 EMULATION) since that isn't the DEFAULT value (if you have IE 11 installed -- or whatever version).

    That MSDN article contains notes on several other Registry changes that affects Internet Explorer web browser behavior.

提交回复
热议问题