Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

WebWroser control on MDI chil window

Posted on 2000-04-15
1
Medium Priority
?
151 Views
Last Modified: 2010-05-02
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 ??
0
Comment
Question by:axil
1 Comment
 
LVL 28

Accepted Solution

by:
AzraSound earned 400 total points
ID: 2719141
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question