Re: Outlook addin shutting down by itself?
It could be any external code calling the Outlook.Application.Quit() method
for one thing.
It could also be an addin or other code causing the Outlook.exe process to
fire an exception it can't handle, therefore forcing Outlook to close. I've
seen that, for one example, when the Outlook object model is called from a
background thread rather than the main thread.
Also, I've seen Outlook just close when certain forms were opened that were
corrupted or had too many custom fields added.
Unless you can pinpoint when this happens and what else is running at that
time there's no real way to tell why Outlook is closing other than what
might be in the various event logs.
--
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
"fbs 419" wrote in message
news:uG29oA72IHA.5060@TK2MSFTNGP04.phx.gbl...
> Does anyone know of an instance when an Outlook addin shuts down seemingly
> by itself? In this case, an Explorer Close gets fired, so our addin shuts
> down. This occasionally happens with no user intervention. I suppose
> some other addins could be responsible, but I have seen this happen when
> there are no other addins present.
>
> Anybody seen this -- where some external thing causes an Explorer Close
> event?
>
>
date: Wed, 2 Jul 2008 09:43:04 -0400
author: Ken Slovak - [MVP - Outlook]