Attach the below events in your main.
AppDomain.CurrentDomain.UnhandledException+=new
UnhandledExceptionEventHandler(CurrentDomain_Unhan dledException);
Application.ThreadException+=new
ThreadExceptionEventHandler(Application_ThreadExce ption);
Examine if you get any errors here... using the EventArgs..
VJ
"Diogo Alves - Software Developer"
<Di*************************@discussions.microsoft .com> wrote in message
news:32**********************************@microsof t.com...
hi, I'm using the vs2003...
I don't know what is going on... everytime my application connects to a
device that I have, i do the connection and disconnection sucessfully but
after a while, and only sometimes (it's a random error) the application
closes... does not give any error and there isn't any exception,
nothing... I
can't figure how to trace what is going on... there is nothing wrong?
Do you know any way to get around it?