My VB6 app is referencing to Outlook Object. Once a
module/class is done, I explicitly set all objects to
nothing. But after closing the app, Outlook instance is
always left in the memory, along MAPSP32. Another issue
is when Outlook is not started, the app takes really long
to log into Outlook. In the code, I always set the new
session to True during the Logon method. I also only
pass the Namespace object ByRef. I cannot really think
about anything else to get rid of the Outlook instance.
Any recommendations will be appreciated. Thanks.
Ken Slovak - [MVP - Outlook] - 22 Dec 2004 14:25 GMT
Try the Quit method of the Outlook.Application object.

Signature
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
> My VB6 app is referencing to Outlook Object. Once a
> module/class is done, I explicitly set all objects to
[quoted text clipped - 6 lines]
> about anything else to get rid of the Outlook instance.
> Any recommendations will be appreciated. Thanks.