You’ve developed your desktop application with a web browser control. When you run it on a desktop an error prompt occurs “Internet Explorer Script Error”, “An error has occurred in the script on this page”, “Do you want to continue running scripts on this page?”

It’s annoying to see this prompt every time you use your desktop application w/ web browser control.

Internet Explorer Script Error
To avoid this error prompt open Internet Explorer’s ‘Internet Options’
Then choose security tab. Choose internet on the zone to view and click the ‘Custom level’ button.
Internet Options
Then browse down to ‘scripting’ option and choose ‘Disable’.
Internet Options

Happy Coding.. ! 😉