Reputation: 31
Recently, I'm developing an App using Winform and WebBrowser Control. But the WebPage seems different in WebBrowser, and then I find that if the App runs in a computer which just installed IE6, some pages are look weird. I want to know the relationship between the control and IE installed on my computer, and trying to do this: give my user an stable UI even the IE installed on the user's computer are different.
Thanks!
Upvotes: 3
Views: 2125
Reputation: 179799
The WebBrowser control in C# is just MSHTML, also known as the Trident Engine. Internet Explorer is a very simple UI wrapper for MSHTML, but it also servers as the update mechanism for MSHTML: your C# gets the MSHTML version matching the installed IE version. And yes, that can be IE6.
The solution is of course to distribute your own web browser component, e.g. WebKit (which powers Chrome and Safari)
Upvotes: 1
Reputation: 1976
You could replace default browser with more stable :
Replacing .NET WebBrowser control with a better browser, like Chrome?
Upvotes: 0