Wrox Programmer Forums
|
Visual Basic 2010 General Discussion For any discussions about Visual Basic 2010 topics which aren't related to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2010 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 1st, 2011, 04:38 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Closing a Window

My web crawler is encountering VISUAL STUDIO JUST-IN-TIME DEBUGGER errors when loading this page in a webbrowser control:

http://www.wyomingtourism.org/

This is throwing an error dialog box which stops processing despite setting ScriptErrorsSuppressed=true. The title bar says:

VISUAL STUDIO JUST-IN-TIME DEBUGGER

And the error is:

An unhandled exception occurred ("FB" is undefined)...

I don't really care whether the state of WY has an error on their page and I am certainly not interested in debugging the thing. I just want it to stop displaying this pesky error box because the crawler stops processing and I have to manually click the NO button on this dialog box just to continue. I've tried killing the box in another process running at the same time using DESTROYWINDOW API call and while it can find the debugger window, it seems unable to close it so the crawler can continue.

Do I really have to babysit this thing just to hit the close button every time this dialog box pops up, or can somebody recommend a solution that actually works (as opposed to the myriad examples I can find that do not?)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Closing parent window from child window arnabghosh Javascript How-To 1 December 26th, 2007 01:18 AM
Closing window without prompt Sridhar Darsipudi Javascript 15 May 29th, 2006 03:21 AM
Closing Child Window nickiii General .NET 2 March 31st, 2005 12:05 PM
Closing window Netscape r_ganesh76 Javascript 1 November 22nd, 2004 11:38 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.