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
  • 4,812
  • 13
  • 58
  • 75
Abbas Mohammed
  • 65
  • 1
  • 11

1 Answers1

2

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
  • 17,710
  • 5
  • 27
  • 70
Niladri
  • 5,526
  • 2
  • 21
  • 37