I think most of the people hate web browser control script errors in vb.net and c# . if you don't know what i mean , look at the picture below i hope you know it.
Okay i will straightly come to the main point ! you just need to add this line of code in form_load
Me.WebBrowser1.ScriptErrorsSuppressed = True'change WebBrowser1 to your webbrowser name' , here is the code for c#
this.webBrowser1.ScriptErrorsSuppressed = true;that's a snippet , thanks.
5 comments
Wow Its Nice ! Thanks Man ! I want more advanced Tutorials.
ReplyThank you!! I'm making a custom browser for my business computers. one part to our system pops up a window, your code worked like a charm! Thank you, Thank you!!
ReplyThis only suppresses a very small number of errors. Many error popups will still appear.
ReplyDoes anyone know how to suppress 100% of the errors?
Sekolah Blogger Indonesia
ReplySekolah Adsense
Sekolah Wordpress
Sekolah Blogger
Sekolah Hosting
Sekolah SEO
Forum Anime Indonesia sfdsfdfdfd68686cx
Csharp Examples for Beginners
ReplyPost a Comment
Note: Only a member of this blog may post a comment.