* NewWindow2 Event LPARAMETERS ppdisp, cancel DO FORM ie_newwindow NAME ie_newwindowref linked ie_newwindowref.oie.RegisterAsBrowser = .T. ppDisp = ie_newwindowref.oie.Object ie_newwindowref.show()>NewWindow2 does not seem to be triggered at all. Any thoughts what prevents it from happening? I am trying to drive certain Web site in a form which has some popups ( calendars and etc... ) . Assuming if I succeded with enabling NewWindow2 would it be supposed to work in Browser control ?
>Private Sub WebBrowser1_NewWindow2(ppDisp As Object, > Cancel As Boolean) > Dim frmWB As Form1 > Set frmWB = New Form1 > > frmWB.WebBrowser1.RegisterAsBrowser = TRUE > > Set ppDisp = frmWB.WebBrowser1.Object > frmWB.Visible = True >End Sub >>