Google Chrome Frame in C#?
Asked Answered
F

2

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?

Florentinoflorenza answered 23/8, 2011 at 17:1 Comment(5)
what do you mean ? Do you want to host Chrome via WebBrowser in your app ? Do you want to create some special HTML ???Hispanicize
Google for "Google Chrome Frame" to see what I mean.Florentinoflorenza
Included the link to avoid confusion.Winshell
Do you have a specific question that isn't handled in the documentation located here? chromium.org/developers/how-tos/chrome-frame-getting-startedWinshell
and what is the exact problem ? what does not work ?Hispanicize
P
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.

Paltry answered 23/8, 2011 at 17:30 Comment(0)
A
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

Andre answered 23/8, 2011 at 17:44 Comment(1)
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:44AMLifeless
P
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.

Paltry answered 23/8, 2011 at 17:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.