I have an application that uses an invisible instance of Excel. I would like Excel to close even if the application crashes. This is mainly for debugging since crashes leaves Excel processes running which have to be manually stopped in Task Manager.
I had seen the OnHandleDestroyed event is supposed to fire even if an application crashes or otherwise closes ungracefully. However, this is not doing the trick.
Is there any closing type event which will fire even if the application crashes?
I had seen the OnHandleDestroyed event is supposed to fire even if an application crashes or otherwise closes ungracefully. However, this is not doing the trick.
Is there any closing type event which will fire even if the application crashes?