Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / December 2003

Tip: Looking for answers? Try searching our database.

Csharp addin - Add-in isn't visible in COM dialog

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Irregular - 15 Dec 2003 01:18 GMT
Hello,

Using the Office C# addin sample, I can't seem to get the add-in to be
visible in Outlook's COM Addins dialog box. I'm using VS 2003 with the
IDTExtensibility2 sample, targeting Outlook exclusively.

The add-in actually loads and OnConnect s, so it seems to be mostly a
display problem.

What's the trick - how can I get my C# addin visible to Outlook? (step by
step guidance appreciated!)
Matt - 28 Dec 2003 03:27 GMT
If you made the Add-In available to all users, then it doesn't show up in
the outlook COM Add-Ins dialog.  You can see it in the registry here
though -
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Outlook\Addins\YOUR_ADDIN

If you make the Add-In only available to the current user (there is an
option for this in the wizard), it will put the registry entry under
"HKEY_CURRENT_USER" instead, and you will be able to see it in the Outlook
COM Add-Ins dialog box.

Also, because C#.Net and VB.Net create "Managed" add-ins, they are called
via a microsoft dll called "mscoree.dll", so it might show up as "mscoree"
in the list, and you will not be able to add it to the list by selecting
your add-in's dll.

The only way that you can get it to behave as expected in that list is to
build an "Unmanaged shim" which in turn calls your add-in.  You can build
this shim in C++ 7.1 (VS2003).  It is explained here -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/od
c_comshim.asp


Matt.

> Hello,
>
[quoted text clipped - 7 lines]
> What's the trick - how can I get my C# addin visible to Outlook? (step by
> step guidance appreciated!)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.