PC Review


Reply
Thread Tools Rate Thread

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

 
 
Irregular
Guest
Posts: n/a
 
      15th Dec 2003
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!)


 
Reply With Quote
 
 
 
 
Matt
Guest
Posts: n/a
 
      28th Dec 2003
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/de...dc_comshim.asp

Matt.


"Irregular" <none@noemailsorry> wrote in message
news:(E-Mail Removed)...
> 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!)
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a csharp Addin for Visual Studio dockable Markus Microsoft C# .NET 4 9th Aug 2008 12:18 PM
How do I show dialog boxes in Csharp? COHENMARVIN@lycos.com Microsoft C# .NET 5 10th Apr 2008 10:37 PM
COM Addin not visible in the COM Addins listing =?Utf-8?B?S3VsdmluZGVy?= Microsoft Outlook Program Addins 9 20th Aug 2007 05:00 AM
Outlook addin + flag status + visible/Invisible Anushya Microsoft C# .NET 1 30th Jan 2004 03:11 PM
Removing an addin from the addin's list dialog Jim Bassett Microsoft Excel Programming 0 12th Jan 2004 03:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:00 AM.