I'm using the following code to embed the gecko in my application:
Dim browser As Gecko.GeckoWebBrowser
Gecko.Xpcom.Initialize("C:\temp\MozilaTeste\xulrunner")
browser = New Gecko.GeckoWebBrowser
Me.Controls.Add(browser)
browser.Dock = DockStyle.Fill
browser.Navigate("http://www.aol.com")
But my application freezes after call browser.Navigate("http://www.aol.com")
.
I'm using VS2010 Express. I've downloaded the xulrunner and extracted it to "C:\temp\MozilaTeste\xulrunner". I've downloaded the gecko fx and added the geckofx-core-14.dll
and Geckofx-Winforms-14.dll
to the project reference.