Exception

  • Thread starter Thread starter Ajay Bhola
  • Start date Start date
A

Ajay Bhola

Hi All,

I am getting following exception when I try to execute my app from C
drive.
Recently I have build a control which lies in a DLL and this error
happens
only on a particular PC and when user try to open the window which has
that
control. The other PCs seems to be ok.

Before implementing this control, my previous version of application
was
working all ok on that PC from C drive.

Error I get is -
Application has generated an exception that could not be handled.
Process Id = 0x105(261), Thread id=0x57(87)
Click OK to terminate the application
Click Cancel to debug the application
[OK] [Cancel]

Has anyone experienced this before? Any solution

Regards.
 
I suggest you add a few try/catch in the code. Those exception messages
are generally more informative than the one given when no proper catch
statement is found (could not be handled).
 
Hi,

The error you posted here is the standard error header, ALL the exceptions
will tell you the process ID & thread ID where the exception was thrown, it
usually give you a details button where a stacktrace is show, this info give
you mor einfo of where the exception was originated.

Of course it will always be better use a few try/catch blocks where you
think the problem may be.

Cheers,
 
Back
Top