AppDomain.CurrentDomain.UnhandledException +=
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
Forms.Application.ThreadException +=
new System.Threading.ThreadExceptionEventHandler(Application_ThreadException);
was the code i snipped off a similar question, but it fails to solve my case. What i'm trying to do is catch a crash and dispose of my application correctly so i don't leave behind memory dumps/traces/systray icons