IWebBrowser2 Seemingly Not Executing Javascript
Users of our program occasionally have to download databases from a third-party website that requires them to log-in and specify parameters to get the correct database. I am tryin
Solution 1:
The Microsoft Embedded Web Browser control runs in a Document mode of 7. So if you were to use Fiddler to see the User-agent-string you would see the IE 7 User agent string. It uses the rendering and web standards of IE7 as well.
To override this and have it use IE11 standards you will have to create a registry entry specific to your executable.
HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)\SOFTWARE\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION
contoso.exe = (DWORD) 00009000
See the MSDN documentation on this
Post a Comment for "IWebBrowser2 Seemingly Not Executing Javascript"