467,161 Members | 915 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,161 developers. It's quick & easy.

AxWebBrowser in windows form NewWindow2() event

Hello, I am trying to provide a handler for the NewWindow2() event in this
windows forms application. Here is the handler:
Private Sub wbrPOS_NewWindow2(ByVal sender As Object, ByVal e As
AxSHDocVw.DWebBrowserEvents2_NewWindow2Event) Handles wbrPOS.NewWindow2
Dim frmPopUpCatcher As New frmBrowse2
frmPopUpCatcher.wbrPOS2.RegisterAsBrowser = True
e.ppDisp = wbrPOS.Application
frmPopUpCatcher.ShowDialog()
End Sub

The window.open() happens on frmBrowse (I am trying to use a second form
here) trying to get away from running the form load event for the first form
since a lot of authentication info is being passed in there. So far, nothing
shows in my new window. I saw the support document on how to implement this.
Tried that to no result. Any help/suggestion appreciated. Thanks.
Nov 21 '05 #1
  • viewed: 2178
Share:
2 Replies
Sergiu,

This events starts when inside this window a new window is created (popup).
However now it is that a part of IE itself so probably will that be blocked
now.

Just a guess

Cor
Nov 21 '05 #2
the new window that is triggered by the newwindow2() event just seems to be
empty on return. It is not being blocked.

"Cor Ligthert" wrote:
Sergiu,

This events starts when inside this window a new window is created (popup).
However now it is that a part of IE itself so probably will that be blocked
now.

Just a guess

Cor

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Matthias Kwiedor | last post: by
3 posts views Thread by Clint MacDonald | last post: by
11 posts views Thread by Bernie Yaeger | last post: by
2 posts views Thread by hplloyd | last post: by
12 posts views Thread by Don Juan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.