Diebold Inc.
> Ken,
> Look under:
> HKLM\SOFTWARE\Microsoft\NETFramework
> The DbgManagedDebugger value determines which program runs
> when an unhandled exception is thrown. Also, look at the
> DbgJITDebugLaunchSetting value. Setting this value to 0
> will bring up the default message box. 1 will prevent the
> JIT handler from running. 2 will cause the program to try
> to keep running.
>
> If the unhandled exception is a Win32 exception, look at
> HTML\Software\Microsoft\Windows NT\CurrentVersion\AeDebug
> key.
>
> See O'Reilly's excellent Mastering Visual Studio.NET (p86)
> for more details.
>
> Hope this helps.
>
> - Ben Blair
> - benblair@Association for Computing Machinery dot org
>
> >-----Original Message-----
> >I'll look into these suggestions. Thanks.
> >
> >I still think that Microsoft should have provided a
> registry setting or
> >something to disable the clr unhandled exception dialog
> box.
> >
> >--
> >-----------------------------------
> >Ken Varn
> >Senior Software Engineer
> >Diebold Inc.
> >varnk@diebold.com
> >-----------------------------------
> >"Marc Scheuner [MVP ADSI]"
> <m.scheuner@inova.SPAMBEGONE.ch> wrote in message
> >news:r37olvk5fj80ghsdjnbhd5r7khsr6gkbq9@4ax.com...
> >> >What would you propose that I do for .NET applications
> that are 3rd
> >party?
> >> >I can't guarantee that all applications handle all
> exceptions. My system
> >is
> >> >a critical 24/7 system that is unattended. When these
> pop-up dialogs
> >> >appear, it suspends operations until someone
> acknowledges the modal
> >dialog
> >> >box. This is unacceptable for an unattended system.
> >>
> >> One way would be to write a small C# "loader" that
> would load /
> >> execute those third-party apps/components, and that
> would implement a
> >> "catch-all" exception handler that would catch, record,
> and "swallow"
> >> all exceptions that show up.
> >>
> >> However, if the third-party app *itself* catches an
> exception and
> >> displays an error message box, you're out of luck - you
> won't be able
> >> to change the behaviour of that app from the outside,
> I'd say.
> >>
> >> Not sure if maybe the MS Exception Handling Application
> Block could be
> >> of use to you, too - I've looked at it, but it looked
> rather
> >> complicated and convoluted, so I backed off - it should
> allow you to
> >> define certain ways of handling exceptions (e.g. by
> just recording
> >> them to a log file etc.).
> >>
> >>
> >
http://msdn.microsoft.com/library/default.asp? > url=/library/en-us/dnbda/html/emab-rm.asp
> >>
> >> Marc
> >>
> ===========================================================
> =====
> >> Marc Scheuner May The Source Be
> With You!
> >> Bern, Switzerland m.scheuner(at)
> inova.ch
> >
> >
> >.
> >