Re: Try...Catch across assemblies

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Fri, 1 Jul 2005 07:15:03 +0100, Jon Skeet [C# MVP] wrote:

> Well, the good news is that it's got nothing to do with running in a
> different assembly. The bad news is I don't entirely understand it. I
> *believe* it's because when you show a dialog, it starts a new message
> pump, and *that's* what is popping up the message box. I don't know how
> to solve it though. It might be worth asking in the Windows Forms
> newsgroup. Here's the code I used to reproduce it in the end in a more
> compact (and readable to me, as a C# programmer :) form:

Funny, reading your code i've realized that this is the exact same problem
i ran into last week. Throwing an exception from the Load event handler
results in a weird behaviour in Visual Studio (unhandled exception even
with a try/catch) but runs fine outside VS. So i just assumed that it was a
bug with VS and moved on. But i'd be interested to know what the real
problem is.
.



Relevant Pages

  • Re: Try...Catch across assemblies
    ... The bad news is I don't entirely understand it. ... > results in a weird behaviour in Visual Studio (unhandled exception even ... That's the opposite behaviour from what's being reported here. ...
    (microsoft.public.dotnet.framework)
  • Re: Galvanische Trennung ?!
    ... I wasn't indicating ownership, just ease of reading. ... I do listen to DW via shortwave, though the speech is sometimes too fast for me ... The news services here are so much ... >through my email account. ...
    (sci.electronics.design)
  • Re: Heres a Story You Will Never See On Fox News
    ... >>literary reference, it's usually met with stone silence - unless the ... >>spend their time reading that which is understandable to them, ... Most get their news from TV. ... I stopped receivin the newspaper over a year ago.......I got tired of the ...
    (rec.boats)
  • Re: Waking up displaced
    ... My first thought on reading this was "I'm the main character from 'The ... can look after them for a while, in case they wake up. ... there's not time for print news to have captured this; ... : general precautions. ...
    (rec.arts.sf.science)
  • Re: The Lord of Eltingville
    ... Yeah you do sound kinda sweet..;-) ... So I can be here but just not talk about news and politics my driving ... I did start reading again because I was ready to download a perfect ... to buy from the official store..After all, Grateful Dead Productions IS ...
    (rec.music.gdead)