hi guys, is there anyway of catching exceptions globably in a windows application similar to way we handle exceptions using global file in asp.net aplications?
thanks.

pretty much the same thing

the important piece being this line

Application.ThreadException += new System.Threading.ThreadExceptionEventHandler (Application_ThreadException);

unless you want to use it to catch exceptions that you didn't handle already, its not a recommended solution for error handling