I found this code that is supposed to prevent the user from downloading files:
Private Sub WebBrowser_Navigating(ByVal sender As Object, ByVal e As System.Windows.Forms.WebBrowserNavigatingEventArgs)
Dim HTTPRequest As System.Net.WebRequest =...
Thanks for that,
I have actually fixed it (or from what I can tell I have), I looked at what the normal handler configuration is for a web browser opening in a new window, it seems at the private sub it should be system.componentmodel.canceleventargs, lets see if it works in practice.
Thanks
Aaron
I am making a web browser for a Kiosk system that uses a tab control to display web pages, the user can add and remove tabs. When a new tab is created it creates a new web browser using:
Dim newbrowser As New WebBrowser
In the AddWebTab private sub, which is called when the users adds a tab.
I...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.