"Arti" <> wrote in message
news:...
> Thanks Mark, I tried that one out but it doesn't work... 
>
> Hi Bjorn,
> The problem is that this problem occurs only in certain conditions... Do
> you still think this solution will solve the problem?
I don't know, depends on the details in your conditions. Let's say you
retrieve database records, and sometimes you encounter unexpected values
like dbNull where there is supposed to be a number. If this situation isn't
taken into the code, you may get an exeption that escapes the open thread.
There are all sort of possibilities in this direction, but since I don't
know anything about the app or the conditions when this happens, I am only
guessing.
Bjorn