Generic question on Outlook instance left in memory

  • Thread starter Thread starter Bingo
  • Start date Start date
B

Bingo

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.
 
Back
Top