Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Chrome Frame in C#?

How can I use Google Chrome Frame in .NET's WebBrowser control? I know I have to have:

<meta http-equiv="X-UA-Compatible" content="chrome=1">

In the beginning of the page that I'm loading, but how to do this?

like image 245
blez Avatar asked Aug 23 '11 17:08

blez


2 Answers

Hi it's true what @ErickPetru said, but there are some other options especially with the ChromiumEmbeddedFramework. There are 2 projects targeting the .net framework. I've used CefSharp before and cefglue is new. Have a look at those for embedding a chromelike browser in a .net application.

cefglue

CefSharp

like image 166
albertjan Avatar answered Oct 11 '22 15:10

albertjan


Google Chrome Frame is an Internet Explorer plugin, so WebBrowser Control isn't supported (since the control itself doens't support plugins).

At this official thread is being suggested an alternative approach using Chrome Frame ActiveX itself inside your application, but I never tried it.

like image 30
Erick Petrucelli Avatar answered Oct 11 '22 14:10

Erick Petrucelli