1

When I load some page to a WebBrowser control for example www.google.iq it shows an error message

enter image description here

my code in load event

   WebBrowser1.Navigate(New Uri("https://www.google.com"))
IvanH
  • 5,039
  • 14
  • 60
  • 81
Abbas Mohammed
  • 65
  • 1
  • 12

1 Answers1

3

Please set the below property of WebBrowser in your form to suppress the script errors of browser and others from the activex control

WebBrowser1.ScriptErrorsSuppressed = True
Visual Vincent
  • 18,045
  • 5
  • 28
  • 75
Niladri
  • 5,832
  • 2
  • 23
  • 41