1

i need help. how to disable file download from web browser? i want create the web browser just for browsing and i using vb.net. i can't find the answer when i search on internet. i just find the script like this.

Private Sub WebBrowser1_File Download(sender As Object, e As Event) Handles

WebBrowser1.File Download

<-- ? -->

End Sub

QUESTION: how using this?

thanks

Community
  • 1
  • 1
Riski Febriansyah
  • 335
  • 1
  • 8
  • 21

1 Answers1

0

Set WebBrowser1.AllowNavigation = False in the FileDownload event

Hope this help you

Vignesh Kumar A
  • 27,863
  • 13
  • 63
  • 115