vb based browser

参考视频教学 youtube

需要两个三方库 sourceCode
ChromeBasedWebBrowser.rar
,xulrunner-1.9.en-US.win32.zip

1,新建一个class 继承 Skybound.Gecko.GeckoWebBrowser

Imports Skybound.Gecko
Public Class FasterBrowser
    Inherits GeckoWebBrowser
End Class

2,在ui 上加入 new class

3,

Imports Skybound.Gecko

Public Class Form1

    Sub New()
        InitializeComponent()

        Xpcom.Initialize(Environment.CurrentDirectory + "lrunner")


    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        FasterBrowser1.Navigate("http://www.zmaitech.com")
    End Sub

End Class