.NET Development
Turn on compatibility list for hosted web browser control
Gravatar is a globally recognized avatar based on your email address. Turn on compatibility list for hosted web browser control
  casimero
  All
  Apr 26, 2019 @ 09:34am

IE 11, being so standard compliant, has broken a lot of web sites, so Microsoft created a compatibility list to render those sites (by domain) in IE 10 mode, or lower. I found the URL of the compatibility list in my registry at: HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\CVListPreviousDownloadUrl but I don't see any need to manually process this file since the browser control has functionality in it already to do so.

It works fine in IE, however, we use the hosted webbrowser control, and it apparently does not use the list by default. I suspect a FeatureControl reg key is turning the compatibility list on for the browser control. When I rename our application to iexplore.exe, it works. However, I do not see any documented feature controls that look promising: http://msdn.microsoft.com/en-us/library/ie/ee330720(v=vs.85).aspx

Out of desperation, I whipped up a program that turns on all features that, according to the docs, are on by default for IE. It also matches entries of IE in the registry. Obviously, it didn't work.

THE QUESTION:

Does anyone know of a way to make the browser control use the compatibility list without renaming the app to iexplore.exe? As proven, the functionality is built in; we just need a way to turn it on. I am aware of FEATURE_BROWSER_EMULATION, and I have it set, but this serves a completely different purpose.

Gravatar is a globally recognized avatar based on your email address. re: Turn on compatibility list for hosted web browser control
  Rick Strahl
  casimero
  Apr 26, 2019 @ 04:51pm

I don't know if that exists - but I am somewhat surprised that the list is not respected in the Web Browser control because whatever it does it's part of the engine which also used by the browser control.

Sorry not much help to you for this...

i think the time is rapidly approaching where ditching the Web Browser control for one of the Chromium based alternatives will no longer be an option.

+++ Rick ---

© 1996-2024