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

VS 2010 [Resolved] How To Stop The WebBrowser From Calling Internet Explorer

$
0
0
I create a webbrowser and set the AllowNavigation property to false. This works alright for most links out there, but when I encounter links that have this attribute:
target="_blank"
- then Internet Explorer appears and opens the link inside.

Is there a way to stop the WebBrowser from calling IE? I know I can go through all links after the page loads and set the target attribute to empty, but I would like to learn how to disable any calls to IE.

Also, there are occasions when I navigate to a direct link of an image and the "File Download" dialog will appear asking me if I want to save the file to my hard drive. After I click cancel, it no longer appears and the following navigated images are just displayed in the webbrowser which is what I wanted. I'm guessing this download dialog is from IE as well. How do I disable this too?

Viewing all articles
Browse latest Browse all 27329

Trending Articles



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