Originally posted by Ram_Gupta
Hi,

I am trying my best to trace the actual problem. Out of curosity
i just wanna experiment that. But the code above is still
throwing runtime error dialog box...that means it's not going
into the catch block.

Thanx and Regards
Ram.
Right. You're catching the wrong type of exception. I didn't indicate which "type" of exception to catch, because of the reasons Graham stated. You asked if something is possible. Yes, it is possible. Don't rely on it. Fix the problem "the right way" - Graham offered several suggestions. Abandon the path you seem to be headed down.