Forgive the crudeness of the following code.  I opened Visual Studio .NET
and created a non efficient
VB example for you.

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
  mb.Navigate2(http://www.vipercorp.com)
End Sub

Private Sub mb_NewWindow2(ByVal sender As Object, ByVal e As
AxMOZILLACONTROLLib.DWebBrowserEvents2_NewWindow2Event) Handles
mb.NewWindow2
  Dim test As New AxMOZILLACONTROLLib.AxMozillaBrowser

  Dim a As New Form

  test.Parent = a

  test.Dock = DockStyle.Fill

  a.Show()

  e.ppDisp = test.Application
End Sub



_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to