Question

I just wanted to create a simple visual basic application to test that I can create programs that embed webpages.

However, I have noticed that the renderer for the WebBrowser control may be different from the one used in IE11 (which I have installed).

For one thing, on IE11, the scroll bars look different.

When I visit this page, it tells me I'm on IE11 when I use IE11, and then tells me I'm on IE7 when I use the WebBrowser control.

I've also found some websites telling me I could fix it by changing some registry values for the application. But it seemed rather silly to me that I couldn't specify this in my code.

I don't mind switching to C++, C# or some other .NET language. Is there a way I can programmatically change the version of IE that is being used by WebBrowser?

No correct solution

OTHER TIPS

You can set the browser emulation (the default is IE8) for your app in:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_BROWSER_EMULATION

See here: http://msdn.microsoft.com/en-us/library/ie/ee330730(v=vs.85).aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top