10

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?

Dan Esparza
  • 28,047
  • 29
  • 99
  • 127
blez
  • 4,939
  • 5
  • 50
  • 82

2 Answers2

8

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

albertjan
  • 7,739
  • 6
  • 44
  • 74
  • 2
    For those who are interested: cefglue is based on Chrome/13.0.782.41 CefSharp is based on Chrome/19.0.1084.9 as of 11/7/2012 at 11:44AM – Dan Balthaser Nov 07 '12 at 16:44
4

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.

Erick Petrucelli
  • 14,386
  • 8
  • 64
  • 84