A simple question - How to write a function that triggers on Application.Exit() ?(or whatever Application Closing method you prefer)
Keep in mind that I'm not asking for when the main form is closed or anything like that. That is done something like this:
Private Sub AppExit(sender As Object, e As EventArgs) Handles Me.FormClosing
msgbox("I'm closing")
End Sub
So basically, what sort of handle would I have to use ? Or, if you know a better way to do this, do tell. Thanks in advance.