outlook addin remains in memory

  • Thread starter Thread starter joberoi
  • Start date Start date
J

joberoi

Based on articles available for creating COM addin's using
VB NET , i have created a simple ADDIN , but whan i
exit from outlook. OUTLOOK.EXE remains in memory

pls let me know what i should do

joberoi
 
Without looking at the code (which I would prefer not to
do at the moment :) )...

The best answer to your question is to comb through your
code and see if any references to Outlook objects have
not been disposed. (i.e. myObjectRef = Nothing)

The best policy for Add-Ins is to explicitly release ALL
references and not to rely on VB garbage collection (such
as when exiting a sub)...
 
Also, you might have to explicitly call the garbage collector to completely
clear things up.
 
Back
Top