PC Review


Reply
Thread Tools Rate Thread

Detect Outlook Crash

 
 
ScottyDoesKnow
Guest
Posts: n/a
 
      3rd Mar 2010
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?
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      3rd Mar 2010
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"ScottyDoesKnow" <(E-Mail Removed)> wrote in message
news9F9DD3D-F7BA-4A3A-9550-(E-Mail Removed)...
> 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?


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Detect orphan files after program crash Gunnar Microsoft C# .NET 1 1st Jun 2006 01:36 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Misc 4 17th Apr 2004 11:45 PM
Can sumif detect text strings or detect if a dollar sign $ is in a cell? MollyDavis Microsoft Excel Worksheet Functions 4 17th Apr 2004 11:45 PM
Help!!! - best way to detect it is Outlook Mystery Man Microsoft Outlook VBA Programming 0 29th Mar 2004 09:54 PM
How to detect it is Outlook when dragging and dropping from Outlook Mystery Man Microsoft Outlook 0 29th Mar 2004 02:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:38 AM.