-
Detecting a crash
Hi All
I have a program that controls a com port collection system, unfortuantly this Com program is a little buggy and crashes every so often.. Is there anyway for me to create a small App in VB.net that monitors this program and notifies me by mail when it has crashed?
Any help is appreciated
Cheers
Dougie
-
Re: Detecting a crash
Why are you using "buggy" software? Changing that should be your primary goal.
But, if you honestly don't want to go that route, can't you just check the process threads (EnumProcesses) to see if that application is still running?
-
Re: Detecting a crash
Thats what I said about the prog too, we should just replace it, but I have been told that it would cost a fortune to replace and the cost does not justify the necessity to upgrade, the occasional crash is acceptable to the power to be..
I thought about the EnumProcesses but it looks as though the process doesnt close until the dont send error log button has been clicked on the app.
Cheers
Dougie
-
Re: Detecting a crash
You could disable error reporting.
-
Re: Detecting a crash
Dougie, I'd try to look for a thrid party application here to detect the crash.
Try google :
http://www.google.co.uk/search?q=det...&start=10&sa=N
But, whoever told you that the occasional crash is acceptable, should really reconcider that.