0

I've a procedure that gets IE version from the following registry key HKLM\Software\Microsoft\Internet Explorer and read the value named Version.

For newer versions (IE 10 and above), Version is 9.x (for example, IE 10 is 9.10.something), and the new svcVersion value gives the true IE version.

Then I set HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION to the correct browser value for my application.

The problem is that ms edge set this value to 11 like ie11.

Is there any way to retrieve from registry (or any other programmatically way) if is it installed edge?

What is the value to set for edge in FEATURE_BROWSER_EMULATION?

Web_Designer
  • 72,308
  • 93
  • 206
  • 262
ar099968
  • 6,963
  • 12
  • 64
  • 127
  • What is wrong with the value of 11? – David Heffernan Jan 11 '16 at 10:31
  • The 11 value is equal to ie11. Specifically, I need to set the compatibility value for my application in 'HKCU\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION' for the correct browser. The 11 value is equal to ie11 so I cannot set the correct value for ms edge. – ar099968 Jan 11 '16 at 10:44
  • And you have to do this via the registry? You would reject any solution that doesn't read from the registry? It seems to me that what you really should be asking is, "How do I find out the version of Edge that is installed?" Or perhaps, "How do detect if Edge is available, and then set `FEATURE_BROWSER_EMULATION` to use Edge?" That said, according to [this answer](http://stackoverflow.com/a/32034725/505088) you cannot get web browser control to use Edge in any case. – David Heffernan Jan 11 '16 at 10:48
  • Thanks, I've updated my question... the aswer you links said also that the possible value to set to `FEATURE_BROWSER_EMULATION` exists as `dword:00002ee1`. Is it (or will it be) possible to set the `TWebBrowser` compatibility with edge? – ar099968 Jan 11 '16 at 11:10
  • That answer is wrong. Read the most upvoted answer. – David Heffernan Jan 11 '16 at 11:14

0 Answers0