Catching errors v2
-
Hello all, I have an app that requires a certain active X plug in be installed. During testing, if i uninstall the active x control, I am presented with a rather nasty error. I have trapped other error messages with...
'Unhandled exception error Dim WithEvents ap As AppDomain Private Sub ap_UnhandledException(ByVal sender As Object, ByVal e As System.UnhandledExceptionEventArgs) Handles ap.UnhandledException Try WriteErrorLog(e.ToString) Catch ex As Exception WriteErrorLog(ex.ToString) End Try End Sub
How can i capture this one too? -
Hello all, I have an app that requires a certain active X plug in be installed. During testing, if i uninstall the active x control, I am presented with a rather nasty error. I have trapped other error messages with...
'Unhandled exception error Dim WithEvents ap As AppDomain Private Sub ap_UnhandledException(ByVal sender As Object, ByVal e As System.UnhandledExceptionEventArgs) Handles ap.UnhandledException Try WriteErrorLog(e.ToString) Catch ex As Exception WriteErrorLog(ex.ToString) End Try End Sub
How can i capture this one too?