This is the code I use and it works:

Code:
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean)
Dim F As New Form1
Set ppDisp = F.WebBrowser1.object
F.Show
End Sub
If you need help making a webbrowser, someone posted a really good webbrowser source code on http://www.planet-source-code.com. Here is the link to the webbrowser: http://www.planet-source-code.com/vb...=9195&lngWId=1

Hope that helps.