简体   繁体   中英

How can I open a google chrome control in C#

I know there is a way to add a IE control, how do you add a chrome control...? Is it even possible right now?

I'm need this because of the fast javascript VM found in chrome.

I searched around and I don't think Google Chrome registers itself as a Windows COM+ component. I think you're out of luck.

If you want to use it yourself... Chrome is based on the open source webkit rendering engine. Good luck though, I'm pretty sure it's not managed code friendly.

IE control is actually ActiveX component - so it can be wrapped in .Net component. It is not real IE, it's mainly only its rendering engine (HTML+CSS+JS) plus web client (HTTP and some more protocols) Control itself has no menu, bookmarks etc. Chrome is full featured browser. So you should be asking for WebKit (rendering engine chrome use, developed by Safari's guys) control.

There is an outdated Mozilla ActiveX (actually Gecko rendering engine). It's much more complicated to use and only available as ActiveX, no native .Net/C#.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM