blez
blez

Reputation: 5037

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?

Upvotes: 10

Views: 5900

Answers (2)

albertjan
albertjan

Reputation: 7817

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

Upvotes: 8

Erick Petrucelli
Erick Petrucelli

Reputation: 14892

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.

Upvotes: 4

Related Questions