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--


Messages In This Thread
Gecko Web Browser - by vbcodegeek - 06-06-2011, 12:01 PM
Re: Gecko Web Browser - by vbcodegeek - 11-10-2011, 04:14 PM
Re: Gecko Web Browser - by urreasuarez - 01-30-2012, 01:41 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)