Check out these - Handling Unhandled Exceptions

http://bytes.com/topic/c-sharp/answers/247465-catching-every-unhandled-exception
http://msdn.microsoft.com/hi-in/magazine/cc188720(en-us).aspx


On Tue, Oct 6, 2009 at 2:22 PM, santhosh vs <[email protected]> wrote:

> Iam just calling a method like
> obj.Start();
> I cannot catch any exception form it.
> Also the behavior shows that the process is done in another thread (That
> may be the reason why its reported back.) because the control flow is as
> normal after the method.
>
> Also Its an activex control added to the form directly and not any calls
> through Interop. Its a method of the control.
>
>
>> I still have a hard time believing you can't catch a COMException
>> around that process. You need to trap for it explicitly. You may need
>> to include System.Runtime.Interop or similar.
>>
>>

Reply via email to