No way that I know of. That's one of the reasons that the Outlook object
model isn't suitable for running in a service.
--
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
"Doug Shokes" <dshokes[at]cox[dot]net> wrote in message
news:e6dqPjNyJHA.5156@TK2MSFTNGP04.phx.gbl...
> Is there a way to suppress the popup when Outlook can't connect to the
> mail server? The popup that asks for passwords and then shows the failed
> Send/Receive message? I have Outlook reading emails all day and my VB code
> parses the emails and throws the records into a database table. If Outlook
> hangs, the whole process comes to a halt until I manually clear the
> messages. Can these messages be avoided so that if Outlook times out (or
> whatever is happening) it just retries until it succeeds? Are there error
> events I can trap for? Thanks in advance. DOug Shokes. Submitted using
> http://www.outlookforums.com