Reputation: 11
I would like to check the way which determined application was closed. Are any methods to check if application was closed properly by X or by the system error or something in vb.net?
Upvotes: 0
Views: 395
Reputation: 35400
You should do this at 3 levels:
Window
's; don't know which platform you're using) Closing
event and mark the file flag therein. This event provides additional information about the close reason that might be helpful for you.Upvotes: 2