Give me some time to create a new tutorial with Firefox/Gecko Engine 13.
Printable View
Give me some time to create a new tutorial with Firefox/Gecko Engine 13.
Just a quick note... I am using the following:
Skybound.Gecko.dll v1.9.1.0
xulrunner v1.9.2
I think everyone will be looking forward to that! I for one canno't stand the IE webbrowser control....just not enough options to code things down to the smallest details ya know?
Sure hope you get around to it :-) And thanks so much for your contribution to all of us forum peeps!
Nope, not yet, sorry. This week I have to do something for a good friend. Probably, next week ;)
So just to update here.. I was messin around a bit, and installed some updated stuff... GeckoComplete (Which I think is Geckofx 2.0) and xulrunner 16.0b3 and when I try to run a debug, I get the following:
Which it highlights the following line under ApplicationEventsCode:Unable to cast COM object of type 'System.__ComObject' to interface type 'Skybound.Gecko.nsInterfaces'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A88E5A60-205A-4BB1-94E1-2628DAF51EAE}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Code:Skybound.Gecko.Xpcom.Initialize(xrPath)
Hey Guys, I know this is a really old topic, but, Since its on this subject, Why create something new, when its based on the same thing? (Zombie Apocalypse?)
Im trying to take this code here:
And transform it to work with this:Code:Private Sub AxWebBrowser1_NewWindow2(ByVal sender As Object, ByVal e As AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles AxWebBrowser1.NewWindow2
' Dim t As New TabPage
'Dim newtab As New tab
' newtab.Show()
' newtab.Dock = DockStyle.Fill
' newtab.AxWebBrowser1.RegisterAsBrowser = True
'e.ppDisp = newtab.AxWebBrowser1.Application
' newtab.Visible = True
' newtab.TopLevel = False
' t.Controls.Add(newtab)
' Form1.TabControl1.TabPages.Add(t)
' Form1.TabControl1.SelectedTab = t
' newtab.Focus()
'End Sub
The errors I am receiving are as follows:Code:Private Sub GeckoWebBrowser1_CreateWindow(ByVal sender As Object, ByVal e As Skybound.Gecko.GeckoCreateWindowEventArgs) Handles GeckoWebBrowser1.CreateWindow
Dim t As New TabPage
Dim newtab As New tab
newtab.Show()
newtab.Dock = DockStyle.Fill
newtab.GeckoWebBrowser1.RegisterAsBrowser = True
e.ppDisp = newtab.GeckoWebBrowser1.Application
newtab.Visible = True
newtab.TopLevel = False
t.Controls.Add(newtab)
Form1.TabControl1.TabPages.Add(t)
Form1.TabControl1.SelectedTab = t
newtab.Focus()
End Sub
1. 'RegisterAsBrowser' is not a member of 'Skybound.Gecko.GeckoWebBrowser'.
2. 'ppDisp' is not a member of 'Skybound.Gecko.GeckoCreateWindowEventArgs'.
3. 'Application' is not a member of 'Skybound.Gecko.GeckoWebBrowser'.
Would anyone know the "functions" of Skybound.Gecko, To get around those errors? or how I can fix that so it works with Gecko. Im trying to get out of using IE stuff for my browser, as its causing issues.. So I wanted to take another try using Gecko Engine. But stuck at that point.
(again, I apologize for resurrecting an old thread)
Hello. I am creating a user control with a tabbed browser. I have followed the instructions in the original post exactly. I can add the geckobrowser to the control or to a test form without issue, but when trying to add my control to the test form, I get an error that xpcom can't be found. Then Visual Studio crashes. This happens with vs2010 or vs2013.
Attachment 118345
https://8fbb5527-a-62cb3a1a-s-sites....attredirects=0
Thanks alot Radjesh Klauke for your great thread .
I need your help as I made Webbrowser control using GeckoFX by VB.NET2010 but how to create a custom button control for saving the current html page as the following code is not working like the normal webbrowser in Visual studio tools
Geckowebbrwoser.show save as dialogue
So. please it would be highly appreciated if you kindly provide us with the codes needed for adding this feature to my project.
Thanks in advance.
Dear Radjesh,
how we can active the download dialog box or only the file download on geckowebbrowser?
I tried your e example, run good, but not start the file download.
Thank's