I have asked this question many times and never a response from MS....so
please...respond this time before I switch to Java.
I simply want to know exactly what a Common Language Runtime Error modal box
is, where it comes from, and why it happens. The message is simpy
"Application has generated an exception that could not be handled."
I have error handling/reporting linked to the main UI Thread and have done
similar things with all worker threads. Sometimes my users get this while
working, something the application is minimized and they get this error. The
onyl real thing to change is an upgrade from MDAC2.7 to MDAC2.8. This is a
SQL8 dependant application and uses the server heavily. There are about 170
windows in the app.
Regards,
Dec
Rahul Kapoor - 06 Nov 2003 00:51 GMT
can you install windows debugging tools on this machine?
if you can (you just need to xcopy them) it includes a vb script call adplus
which you can run to monitor an application for fatal errors, when a fatal
error occurs this create a dmp file which you can look at to ascertain the
exact cause of the crash
Rahul
r_ahu_l@nospam.yahoo.com
> I have asked this question many times and never a response from MS....so
> please...respond this time before I switch to Java.
[quoted text clipped - 12 lines]
> Regards,
> Dec
decrypted - 06 Nov 2003 01:00 GMT
wicked thanks
> can you install windows debugging tools on this machine?
> if you can (you just need to xcopy them) it includes a vb script call adplus
[quoted text clipped - 25 lines]
> > Regards,
> > Dec
Sebastien Lambla - 10 Nov 2003 12:36 GMT
The dialog box shows when your application throws an exception that nothing
catches, and it bubbles up to the top. If you want to catch all uncatched
exceptions in your application, for example to show your own dialog box to
your users, you have to subscribe to the AppDomain.UnhandledException event.

Signature
Sebastien Lambla
http://thetechnologist.is-a-geek.com/blog/
> I have asked this question many times and never a response from MS....so
> please...respond this time before I switch to Java.
[quoted text clipped - 12 lines]
> Regards,
> Dec
decrypted - 11 Nov 2003 20:15 GMT
I am already doing that...thats the problem. Doesn't matter becaused i
solved the issue...my control vendor is retarded and sent out a lethal bug
thanks
> The dialog box shows when your application throws an exception that nothing
> catches, and it bubbles up to the top. If you want to catch all uncatched
[quoted text clipped - 20 lines]
> > Regards,
> > Dec
Please start studing Java.
It's too bad for Microsoft to have a professional like you.
>-----Original Message-----
>I have asked this question many times and never a response from MS....so
[quoted text clipped - 15 lines]
>
>.
Michael Giagnocavo [MVP] - 18 Nov 2003 19:05 GMT
Have you encased your app in a try/catch to print out the exception? The
only way to really debug these apps is to install a debugger (like cordbg)
on the target machine.
However, if MDAC2.8 fixes it, isn't that a solution for you?
-mike
MVP
> >-----Original Message-----
> >I have asked this question many times and never a
[quoted text clipped - 24 lines]
> >
> >.
decrypted - 20 Nov 2003 18:07 GMT
please learn to speek the english, its too bad for you me to me your me me,
you?
> Please start studing Java.
> It's too bad for Microsoft to have a professional like you.
[quoted text clipped - 27 lines]
> >
> >.