Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
4.00/5 (3 votes)
See more:
Hi

I've read that there is a way to embed an open-source browser like chrome or Firefox in a Windows form application instead of the inbuilt Web Browser in .Net.

But I don't know how to do this.

Could any one please give me an example of how to do this?

Thank you very much.
Posted
Updated 2-Oct-17 22:01pm

Check out: http://www.awesomium.net, should be what you need.
 
Share this answer
 
Comments
adriancs 1-Apr-14 19:10pm    
Awesomium is used in Chromium. I have written an open source project by using awesomium. Take a look at http://exhtmleditor.codeplex.com/
Here are the steps to embed Chrome browser in .Net application:

http://www.umaranis.com/2013/10/16/how-to-embed-chrome-browser-in-net-application/[^]
 
Share this answer
 
v2
A few of the projects have moved or no longer maintained.
- CEFGlue now looks to be replaced by Xilium
- webkitdonet doesn't look like it is still maintained
- GeckoFX is located on bitbucket now and no longer on code.google

The documentation for the embedded frameworks isn't always straightforward or exist.

I've written a short article on how to embed Chrome in a .Net application using CEFSharp.: http://www.codeproject.com/Tips/648678/Embedding-Chrome-in-a-WPF-VB-Net-application-using?msg=4654140

There is also an excellent write up on how to embed firefox here using Geckofx: http://www.vbforums.com/showthread.php?692005-Mozilla-Firefox-Gecko-Xulrunner-in-VB-NET-%28versions-14-and-up%29
 
Share this answer
 
Hi,

To embed Chrome, use WebKit.NET:
http://webkitdotnet.sourceforge.net/[^]
To embed Firefox, use GeckoFX:
http://code.google.com/p/geckofx/[^]
 
Share this answer
 
Assuming that you merely want to use other browsers, not add Chrome or Firefox to the C# Web Browser control...here are some helpful links:

CefSharp Embedded Chromium for .NET: https://github.com/chillitom/CefSharp

Embedding Gecko (firefox engine): https://developer.mozilla.org/en-US/docs/Gecko/Embedding_Mozilla/FAQ/Embedding_Gecko
 
Share this answer
 
v2
Chromium Embedded Framework[^]

CefSharp[^]

CefGlue[^]

All those sites have example projects and good documentation on using the Chromium framework in a .NET application.
 
Share this answer
 
Comments
wborgsm 4-Mar-15 10:04am    
In Feb 2015 I published another .NET bindings project for CEF:
https://bitbucket.org/chromiumfx/chromiumfx
It includes a web browser control for Forms applications.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900