If i'm making my own kind of webbrowser how do i make external links open in my browser?, I mean I want it to open externally but in my browser.
Thanx.
Printable View
If i'm making my own kind of webbrowser how do i make external links open in my browser?, I mean I want it to open externally but in my browser.
Thanx.
It all deals with the NewWindow2 Event. Here's a link with example code that should help you out.
http://support.microsoft.com/support.../Q184/8/76.ASP
The only thing this won't affect is CTRL+N accelerator. For some reason CTRL+N will ONLY open a new instance of IE.
Something like this?
VB Code:
Private Sub WebBrowser1_NewWindow2(ppDisp As Object, Cancel As Boolean) Dim newfrm As New Form1 Set ppDisp = newfrm.WebBrowser1.Object newfrm.Show End Sub