.Net Outlook Addin Not Connecting

M

Mike Bulava

I've created a outlook addin Using Visiual Basic .Net. I used the
Extensibility Wizard to create the project, and it created the initial file
and Setup project..

The Problem is that I can't get outlook to connect to this addin. I've
tried reinstalling the addin then reinstalling it, that doesn't help, I've
tried to manually add the Addin in to outlook, but I keep getting
"<Filename> is not a vaild Office Add-in" message. I've tried recreating
the Addin serveral times but I keep having the Same results. Any
Sugestions?
 
R

Randy Byrne [MVP - Outlook]

You cannot connect a managed code Add-in dll using traditional methods.
Please take a look at the following MSDN article:

Building Outlook Add-ins with Visual Basic .NET
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/html/odc_oladdinvbnet.asp

The following resource page might also help:

http://www.microeye.com/resources/res_outlookvsnet.htm

--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout
 
M

Mike Bulava

I've read the first article you mention, however they are using the Xp
interops. Well I can't use those because I have to make this Addin work
with both Outlook 2000 and outlook Xp, and the Addin must work on both Win2k
and XP and the interops say you need Windows XP.. Unless someone knows if
those interops will work on Office 2000 and Windows 2000??

I am looking at the other information that you sent as well that may help
some.
 
M

Mike Bulava

I'm still having no luck with this... I'm starting to think I should Make
the Addin Using VB6 and have it call the .Net code...
 
M

Mike Bulava

I'm Noticing that the snk file that is referenced in many of the Com Addin
Documents and Q articles isn't being created when I create my project.
Could that be the problem? This has me really stumped, this shouldn't be
this hard, I've got to be missing something Stupid but I've started the
Addin over more times then I can count, following the instructions on any
page that gives instructions but that darn thing still won't work..
 
R

Randy Byrne [MVP - Outlook]

Generally, building the Add-in with VB6 is the path that will work best if
you have to support multiple versions of Outlook. Compile your Add-in using
VB6 on an OL2000 machine. Make calls through COM Interop to your .NET
assembly. A good reference article is the following:

817248 - HOW TO: Call Visual Basic .NET Assembly from Visual Basic 6.0 and
Call Visual Basic COM Component from Visual Basic .NET:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q817248


--
Randy Byrne, MVP - Outlook
http://www.microeye.com
Building Applications with Microsoft Outlook 2002 (MSPress - July 2001)
Building Applications with Microsoft Outlook 2000 (MSPress)
http://www.microeye.com/books
Micro Eye ZipOut
http://www.microeye.com/zipout
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top