Hello. After googling my issue for almost an hour already and read so much I yet, come to you guys for help :(
Here's the deal:
I've put the WebbBrowser component inside my project, and set it's Default page so it loads only 1 page when the form is started, and nothing else.(It's chat based on javascript of that matters)
From now on, I'd like every clicked link inside that chat to be opened in the default web browser, instead it opens then in Internet Explorer, which's kind of annoying.
I tried using this:
But it opens the Default web page(the chat) that is set on the component on the Default browser. I need the links clicked on that Default page to be opened onto the default browser, not the default page itself. :wave:
Here's the deal:
I've put the WebbBrowser component inside my project, and set it's Default page so it loads only 1 page when the form is started, and nothing else.(It's chat based on javascript of that matters)
From now on, I'd like every clicked link inside that chat to be opened in the default web browser, instead it opens then in Internet Explorer, which's kind of annoying.
I tried using this:
Code:
Private Sub WebBrowser1_Navigating(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs) Handles WebBrowser1.Navigating
e.Cancel = True
System.Diagnostics.Process.Start(e.Url.ToString())
End Sub