WebWroser control on MDI chil window

I put a WebWroser control on a MDI child window, whe I right click and
want to open a link on a new window it opens a new window, ok, but
I would prefer to open a new MDI window inside my app, it's possible to
do that ??
axilAsked:
Who is Participating?
 
AzraSoundConnect With a Mentor Commented:
in the webbrowser's newwindow2 event, if you create another mdi child form with a webbrowser control on it, then you can implement it as such:

Private Sub WebBrows_NewWindow2(ppDisp As Object, Cancel As Boolean)
Set ppDisp = Form2.Webbrowser.Object
Form2.Show
End Sub
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.