C# Code Snippets  C# Code Snippets
 C# Code Snippets  C# Code Snippets
 C# Code Snippets  C# Code Snippets
 C# Code Snippets  C# Code Snippets
Showing posts with label Internet Explorer. Show all posts
Showing posts with label Internet Explorer. Show all posts

Saturday, December 22, 2007

How to Suppress / Disable Script Errors in WebBrowser Control

Hi all

I am currently writing an application that uses the WebBrowser control to perform operations on web pages. Unfortunately I stumbled upon a very annoying problem, sometimes an Internet explorer script error window pops up and stops all execution until you click the OK button. I've searched the web for hours and the same answer came up:

it's easy (so easy, yeah...) just do this:

WebBrowser.Silent = true;

the problem is that WebBrowser does not have a property named silent!!!!!! Maybe it did, but no more! if you don't believe me take a a look at the MSDN.

What you should do is use

WebBrowser.ScriptErrorsSuppressed = true;

which does exists...

Hope this helps some frustrated people (like me).

Happy holidays

Amit

AddThis Social Bookmark Button

Wednesday, December 19, 2007

Internet Explorer 7 Ultimate Plugin

Hi all.

Do you envy the Mozilla ad blocker and customizations options?
Well, no more!!!

Introducing IE7Pro the perfect add-in that give you great customization options and much much more!
Check it out here:

http://www.ie7pro.com/

Enjoy

Amit

AddThis Social Bookmark Button