DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

15
kicks
published 9 months, 13 days ago, submitted by razamit 9 months, 17 days ago

dev102.blogspot.com — 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:

Add a comment 4 comments | category: | Views: 33 | Get KickIt image code
tags: , , , , | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
This is hilarious. The author readily admits that instead of glancing at the UI of his IDE or pressing the F1 key to see the members of the control, he instead "searched the web for hours". I've used this control in multiple applications and ScriptErrorsSuppressed is one of a small number of properties prominently displayed in the designer UI. Clicking it shows "Specifies whether the WebBrowser control shows script errors in dialog boxes" in the detail area. There aren't even that many members on this control, so hitting F1 should have ended Amit's "hours long" search in 1 minute. If I blog about how hard it is to see the "ScrollBarsEnabled" property can we kick that too?
posted by jesse 9 months, 13 days ago
-> jesse - it's not as simple as You think, the problem is when I change this property to true - IE script error window gets disabled but instead You get other window - something like this
[URL=http://img227.imageshack.us/my.php?image=windowbz6.png][IMG]http://img227.imageshack.us/img227/1577/windowbz6.th.png[/IMG][/URL]
in my case any workaround is good (except SendKeys.Send("%n") <- alt + n - works in 50%, need 100% ) so if You can help us do so and maybe someone help You when You will be in need. Regards.
posted by DaveMasters 9 months, 13 days ago
ok, I found it ;)
in Internet Explorer menu Tools -> Internet Options ->Advanced ->check Disable Script Debugging (Others), and when You have ScriptErrorsSuppressed set to true it works fine (i made just a few tests)
posted by DaveMasters 9 months, 13 days ago
i know you can find it in the Help, but you know, sometimes you overlook things... :)
as for you DaveMasters i am not getting this window when i disable this, i will try to check it out, thanks for the feed back happy holidays.
posted by razamit 9 months, 13 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge