Share via


How to change browser that webbrowser control uses?

Question

Sunday, July 1, 2012 4:32 PM | 1 vote

basically the webbrowser control opens with internet explorer, i was wondering if there is a way to change it to say firefox or google chrome? 

james griffith

All replies (2)

Sunday, July 1, 2012 4:50 PM ✅Answered

As far as I know, the WebBrowser control is a wrapper that uses the Internet Explorer browser installed in the system.
If you want to use another web browser, you have to look for an ActiveX control wrapping its functionalities and features.

Bye.

Luigi Bruno


Monday, July 2, 2012 8:18 AM ✅Answered | 3 votes

Hi James,

Thank you for your post.

Internet Explorer used as the  default browser for WebBrowser control. If you want to have other browsers instead, such as Mozilla, then you   probably need a control for Firefox Browsing that using a.NET wrapper of Mozilla Gecko browser control. While, if you want to embed Firefox window inside Windows Forms, you will need get the Firefox Window handle first, and then add this handle into the Windows forms or other inner controls by APIs. For more information, please read: http://social.msdn.microsoft.com/Forums/en-US/vblanguage/thread/50d395b8-df7c-431f-afaf-6c7e49a36a59

Have a nice day.

Alexander Sun [MSFT]
MSDN Community Support | Feedback to us