I just want to display ALL crash messages in a messagebox instead of using 100 time try catch for each function. Is it possible to just add like some lines of code once so it displays the crashmessage in a messagebox?
I have this code but it looks like it doesn't work or only works for some messages?
Private Sub OnThreadException(ByVal sender As Object, ByVal e As ThreadExceptionEventArgs)
MessageBox.Show(e.Exception.Message)
End Sub