Documentation and sample

2,458 views
Skip to first unread message

SamuelCalifornia

unread,
Jan 29, 2014, 7:47:55 PM1/29/14
to cef...@googlegroups.com
I have been trying for days to get something I can use to browse to a web site using Chrome and the access the HTML document. I know how to do it for IE using the WebBrowser control.

I downloaded CefGlue and I added CefWebBrowser to my toolbox in VS 2013. I also downloaded cef_binary_3.1768.1578_windows32. I used the toolbox to add a CefWebBrowser to a Windows Forms form and I set the StartUrl property to http://google.com. I set the project's start directory to the Release subdirectory of cef_binary_3.1768.1578_windows32 so that it can find the DLLs there. When I execute, I get a blank page, as if it is only navigating to about:blank.

I do not see any sample use of CefGlue in a C# program. Where is such a sample? If there is more that I need to do to get CefGlue to work then where is the documentation of that? I see the documentation of the API at http://cefglue.dmitriid.com/doc/ but that does not answer the general question of how to use it.

Dmitry Azaraev

unread,
Jan 30, 2014, 11:22:35 AM1/30/14
to cef...@googlegroups.com
Hi.

Project page are landed here http://xilium.bitbucket.org/cefglue/ with link to API documentation. Sources already contains some samples (CefGlue.Demo.WinForms or CefGlue.Client for example). Ignore build errors which are related to probably not installed Gtk#.
From cef binary packages you should put binaries from Release folder and resources from Resources folder near your's executable.


--
You received this message because you are subscribed to the Google Groups "CefGlue" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cefglue+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Best regards,
   Dmitry

SamuelCalifornia .

unread,
Jan 30, 2014, 11:55:50 AM1/30/14
to cef...@googlegroups.com
Thank you, Dmitry, but as I said, I have seen the API documentation. The API documentation provides the details but does not describe general documentation.
 
The only Client sample code I can find is a C++ program. I cannot find a sample called WinForms or any C# sample.


--
You received this message because you are subscribed to a topic in the Google Groups "CefGlue" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cefglue/abb3B5zDm-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cefglue+u...@googlegroups.com.

SamuelCalifornia .

unread,
Jan 30, 2014, 12:20:00 PM1/30/14
to cef...@googlegroups.com
I finally found Headless Chromium in C# with CefGlue | Joel Verhagen and it has a link to Xilium.CefGlue @ de605d27eab0. I am completely unable to find a way to get to that file from Xilium.CefGlue: Home.

On Thu, Jan 30, 2014 at 8:22 AM, Dmitry Azaraev <dmitry....@gmail.com> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "CefGlue" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cefglue/abb3B5zDm-k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cefglue+u...@googlegroups.com.

Dmitry Azaraev

unread,
Jan 30, 2014, 1:05:31 PM1/30/14
to cef...@googlegroups.com
Better is get latest sources and use CEF 3.1650.1567 with them.

SamuelCalifornia .

unread,
Jan 30, 2014, 1:29:56 PM1/30/14
to cef...@googlegroups.com
From where do I get CEF 3.1650.1567 with the C# samples? The version that I download does not have any C# samples. The xilium-xilium.cefglue-de605d27eab0 files has much, much more in it.

Dmitry Azaraev

unread,
Jan 30, 2014, 2:45:04 PM1/30/14
to cef...@googlegroups.com
All sub-folders:

CefGlue.Client - simple browser (winforms)
CefGlue.Demo - common for CefGlue.Demo.GtkSharp and CefGlue.Demo.WinForms
CefGlue.Demo.GtkSharp
CefGlue.Demo.WinForms - simple browser
CefGlue.Samples.WpfOsr - very simple browser, using off-screen rendering + WPF
CefGlue.WindowsForms - sample WinForms control
CefGlue.WPF - sample WPF control

can be treated as samples. 

SamuelCalifornia .

unread,
Jan 30, 2014, 5:00:10 PM1/30/14
to cef...@googlegroups.com
The following are the sub-folders in cef_binary_3.1650.1567_windows32 (that I downloaded from http://cefbuilds.com):
 
cefclient
Debug
include
libcef_dll
Release
Resources
I do not have any of the sub-folders you listed. If I am supposed to be downloading CEF 3.1650.1567 from somewhere else?

Dmitry Azaraev

unread,
Jan 30, 2014, 5:35:35 PM1/30/14
to cef...@googlegroups.com
You need:
2) Get CEF build from cefbuilds.com (CEF 3.1650.1567) (39MB), it contains Debug Release Resources folders.

SamuelCalifornia .

unread,
Jan 30, 2014, 7:55:49 PM1/30/14
to cef...@googlegroups.com
Thank you. I have never seen the page at https://bitbucket.org/xilium/xilium.cefglue/src before. That really helps. Probably someone should make it easier to find.
Reply all
Reply to author
Forward
0 new messages