Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27459

VS 2010 WebBrowser1 Problem.

$
0
0
Good day.

I'm having problem with webBrowser1 in VB win forms application.

My problem is when i'm try to open external links inside the VB webBrowser1 IE will pop up in newtab by default.

All i want is when i click a link inside webBrowser1 my default browser will popup in newtab instead of IE

Here's an example and this is my code :

Quote:

Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WebBrowser1.Navigate("http://www.vbforums.com/forum.php")
End Sub

End Class
When i'm run this program (webBrowser1 navigate to vbforums.com) if i click on the upper right ads (inside vb webBrowser1) a new IE will popup i want it like to be Process.Start but i don't know how to do it. I search many question regarding to this but still didn't get a answer.

Any help will be appreciate!

Viewing all articles
Browse latest Browse all 27459

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>