VB COM Addin in outlook

  • Thread starter Thread starter Allen
  • Start date Start date
A

Allen

Hi,

I have COM addin for Outlook 2000. I have in my references
to the cdo and outlook sessions for the shared connection.
When the code is run in the debug mode, the session seems
not to be released completely. When i try to close and
open the outlook again, it is opening the previous profile
only. I had to explicitly shut down the debug mode and
also the editor to throw up the Choose Profile dialog
again. But when i register the dll it seems to be throwing
up the "Choose Profile".

Can somebody help me in understanding this scenario.

Help appreciated.

Thanks.
Allen
 
Are you properly logging out of the CDO session and setting all object
variables to Nothing?
 
Sue,

Yes, i am. I cross checked all the objects.
-----Original Message-----
Are you properly logging out of the CDO session and setting all object
variables to Nothing?
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers






.
 
But what event are you doing this in? You should dereference all objects
when the last Explorer shuts down.
 
Back
Top