Click to See Complete Forum and Search --> : how to supress a message box


sudheeratwork
September 6th, 2005, 05:21 PM
My C# code access a COM object and fires a method. This method throws a message box when it encounters an error. At which point my C# code execution stops.

I would like to know if there were a way to supress the message from the C# code. Like may be invoke a worker thread from my app, whose work is to watch for the message boxes with a certain text and then supress them :p ... This is not a COM dll that I wrote (lol)....

Thanks for your help.