Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Browser version of a WebBrowser control in Windows Forms

I'm building a Windows Forms application which makes use of the WebBrowser control. Can anyone tell me what rendering engine the control uses?

Is it fixed based on the version of the .NET framework I'm developing against or is it based on the version of IE installed on the client's machine? Does the client even need IE?

In other words, if a website looks right in my application on my machine, is it reasonably safe to assume it'll render right on everyone else's machine?

Thanks!

like image 205
Chris Roberts Avatar asked Jun 15 '10 11:06

Chris Roberts


People also ask

What is WebBrowser control?

The WebBrowser control provides a managed wrapper for the WebBrowser ActiveX control. The managed wrapper lets you display Web pages in your Windows Forms client applications.

What is Web browser control in VB net?

The Web Browser control in VB.NET allows you to host Web pages and other web browser enabled documents in your Windows Forms applications. You can add browser control in your VB.Net projects and it displays the web pages like normal commercial web browsers .

What are WinForms controls?

Windows Forms controls are reusable components that encapsulate user interface functionality and are used in client-side, Windows-based applications. Not only does Windows Forms provide many ready-to-use controls, it also provides the infrastructure for developing your own controls.


1 Answers

It will be the version of IE installed on the target machine. There can only be one, IE doesn't support side-by-side installation of versions. You don't know for a fact your app will work without issue unless you test it on different machines that have versions 6, 7 and 8 installed. This is normally the burden of the web site author.

like image 87
Hans Passant Avatar answered Sep 28 '22 04:09

Hans Passant