Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gecko Web Browser
#1
I have found this Component for Visual Basic 2010 (I have not tested visual basic 2008). It is called the GeckoWebBrowser. It's LOTS faster than the IE webbrowser. And all the codes based on the codes for Mozilla Firefox.

To use this in your projects you will need a couple things.
1) The Webbrowser Component. You can get this at http://geckofx.googlecode.com/files/Skyb....9.1.0.zip
2)You will also need these files called Xulrunner. The component needs these files. You can get them at ftp://ftp.mozilla.org/pub/mozilla.org/xu....win32.zip

To Implement this into your projects follow these steps
1) Extract all the files
2) Open Visual studio. In the toolbox, add the component. The .dll file is called "Skybound.Gecko.dll" located in the bin.
3) Create a new project and add the component to the form. Do not run it yet, or you will get an error.
4. Add this code
Code:
Imports Skybound.Gecko
Make a new sub and call it "Sub New". Add this code
Code:
Xpcom.Initialize("Location of where you extracted the xulrunner")
So your project should look something like this
Code:
Imports Skybound.Gecko
Public Class Form1
    Sub New()
        ' This call is required by the designer.
        Xpcom.Initialize("C:\Documents and Settings\VBCodegeek\My Documents\Downloads\xulrunner-1.9.2.17.en-US.win32\xulrunner")
        InitializeComponent()
        ' Add any initialization after the InitializeComponent() call.
    End Sub
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

    End Sub
End Class
It should work Fine. Hope you find it useful. <!-- sSmile --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="Smile" title="Smile" /><!-- sSmile -->
--VBCodeGeek--
#2
Wow! Great advice. Thanks alot for this find! I'm sure all sorts of visitors will find this tutorial helpful. Thank you!
My Blog | My Setup | My Videos | Have a wonderful day.
#3
He, I know this is and old post, but I just want to share this. Its a version of the Gecko WebBrowser Control but it is not based on firefox 3.6 and earlier. It's based on Firefox 8. So if you have an application that needs a WebBrowser control, you should check this control out.
Link: https://bitbucket.org/geckofx/geckofx-8.0
XULRunner Link: ftp://ftp.mozilla.org/pub/xulrunner/rele....win32.zip
--VBCodeGeek--
#4
Wow, thanks alot for this!!
My Blog | My Setup | My Videos | Have a wonderful day.
#5
Hi, great advise. I created a window form with text area, but when I write something appear red line under the text into the textbox. How can I do to setup gecho to resolve this problem? or what is happening? It will be setup problem?

Thanks

Jose


Forum Jump:


Users browsing this thread: 1 Guest(s)