Add in not loaded in outlook.

  • Thread starter Thread starter Vinayakc
  • Start date Start date
V

Vinayakc

Hi all,

I have written one outlook add-in in VC++.

I am facing very strange problem.

My add in is getting listed in COMAddin group of outlook
(tools->options->advanced options->Comaddins.)

But the check box is not checked. even if i checked that check box my
add in is not getting loaded.

I am registering my addin under HKEY_CURRENT_USER.
Load behaviour is 3.

I can create instance of my .dll file through Oleview.
I can't understand why this happens.
Please help.

Thanks and regards
Vinayakc
 
It sounds like your addin might be disabled. If you are using it on Outlook
2002 or 2003 select Help, About Microsoft Outlook, Disabled Items. See if
it's listed there.

If it is you can re-enable it by clicking the Enable button and exiting and
restarting Outlook.

Then you just have to figure out why it's being disabled.
 
Hi Ken,
Thanks for reply.

Ken, My add-in is not desabled by MS outlook. Even if it is not listed.
I can't understant what is the cause behind that.

Thanks & Regards
Vinayakc
 
The only reason I know of for a COM addin not to stay checked is if it is
disabled by Outlook or it crashes when run.
 
Hi Ken,

The problem was with the installshield setup. I am registering addin
dll through component wizard. But it was not registering my dll
correctly in HKCR.
So I made the dll self register property True and now it is working.
The only thing i still can not understand why setup is creating entries
in HKLM.
I do not specify HKLM anywhere in my registration code.

Regards
Vinayakc
 
Hi,

I use InstallShield with no problems. I set up the DLL for the addin (I use
a VB 6 designer) and mark the DLL for "extract COM information". I then
usually set up the HKCU registry key with the properties I want in the
Registry section of the InstallShield project file.
 
Back
Top