Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / December 2004

Tip: Looking for answers? Try searching our database.

Generic question on Outlook instance left in memory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Bingo - 21 Dec 2004 14:41 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.