Detect Outlook Crash

  • Thread starter Thread starter ScottyDoesKnow
  • Start date Start date
S

ScottyDoesKnow

Is there any way to detect when outlook crashes while I'm connected to it? I
have a program which checks my hotmail account by using outlook connector to
read my emails in outlook, then I programmatically hit send/receive every 15
seconds and check my email count every second.

I don't know if it's because of how often I hit send/receive or how often I
check my email count, or if it's just the crappy computer I'm using, but
outlook crashes a lot. The problem is that it doesn't close, it pops up an
"outlook has crashed. restart it?" window so the process is still alive. This
means I can't just check for the process and restart if it's not there. So is
there any way for me to detect that outlook has stopped working?
 
Not really, but not following a worst practice would probably help. Doing a
send/receive that often is not recommended. Every 10 or 15 minutes is a more
responsible value.

In addition if your code is crashing Outlook you might want to fix it so
Outlook doesn't crash. Since you told us nothing of your code or your
Outlook version or much else that could help it's impossible to tell if
that's happening.
 
Back
Top