Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

com addin using .NET ??

0 views
Skip to first unread message

Craig

unread,
Jan 31, 2002, 11:14:22 AM1/31/02
to
I'm trying to write a good old com addin for outlook
(2000&XP) - Run the c# wizard to create my extensibility
project, select just outlook for integration and then the
wizard ends. I add in some test code compile etc....

outlook does not register the addin. If I manually select
the dll outlook says it is not valid - I presume because
it is a .NET dll ??

any ideas ?

Eric Hill

unread,
Jan 31, 2002, 1:40:11 PM1/31/02
to
Craig,

It makes a big difference what you select in the wizard. If you tell the
wizard you want the addin to be available to all users, not just the one who
installs it, registry keys get created in HKLM instead of HKCU. Add-ins
registered that way actually do get loaded if you said to load when the
application loads, but they do not appear in the COM Add-ins dialog box.

If you check "load my addin when the host application loads" and leave "My
addin should be available to all users blah blah blah" *unchecked*, you get
the best behavior.

I don't think it is possible to do "Add..." from the COM add-ins dialog and
add a .NET addin, because, as you say, the DLL is a .NET dll. You might be
able to regasm the .NET assembly to get it registered, but I have not tried
that.

Good luck,

Eric

"Craig" <craig...@hotmail.com> wrote in message
news:1011301c1aa72$57f2ad00$19ef2ecf@tkmsftngxa01...

0 new messages