06-06-2011, 12:01 PM
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 Make a new sub and call it "Sub New". Add this code
So your project should look something like this
It should work Fine. Hope you find it useful. <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s -->
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
Code:
Xpcom.Initialize("Location of where you extracted the xulrunner")
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
--VBCodeGeek--