>>>>>>Use the Application.ThreadException() to set up a new handler. You can also use the Application.SetUnhandledExceptionMode() to set up a handler as well.
Thanks! It's sometimes difficult using the online help. Some say the documentation is all there, others says it's incomplete, and there are some who say it would be too large to print out! Well, all I have to say is Microsoft really needs to make it more useful--because it's poorly organized.
>>>>Of course you should have try{}...catch{} around sections of code and not only rely on these global error handlers.
Yep, already know this and I use try...catch; I'm sure many here think I don't based on my question. Glad you pointed it out!
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement