Does your application close itself down after starting Outlook? You're going
to have to do a lot of debugging to see what references to Outlook you're
leaving hanging. There's not much else I can tell you, if nothing is hanging
as a reference Outlook would be closing down.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
wrote in message
s.com...
Yes it is an add-in.
Then there is an application that launches outlook and expects the
add-in to work.
So as long as I am manually opening outlook the add-in works and
outlook.exe terminates by itself.
However, when I use the application (which has a button to launch
outlook), outlook opens the add-in works but when I manually close it,
outlook.exe remains. (I cannot use quit becuase the application is only
meant to open outlook not close it, closing is a manual operation.)
Outlook launches from the application if outlook.exe doesnot exist and
works as expected but if outlook.exe exists and outlook is not open,
outlook is launched but the add-in doesnot display. Quite obviously as
I cleaned up in the add-in on explorer.count=0 and inspector.count=0.
So what should I do for outlook.exe to terminate without manual
intervention when outlook is launched from the application???
Thnx