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 / July 2003

Tip: Looking for answers? Try searching our database.

.Net Outlook Addin Not Connecting

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike Bulava - 17 Jul 2003 21:59 GMT
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?
Randy Byrne [MVP - Outlook] - 18 Jul 2003 16:11 GMT
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/o
dc_oladdinvbnet.asp


The following resource page might also help:

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

Signature

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

> 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
[quoted text clipped - 6 lines]
> the Addin serveral times but I keep having the Same results.  Any
> Sugestions?
Mike Bulava - 18 Jul 2003 16:21 GMT
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.

> 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/ht
ml/odc_oladdinvbnet.asp

> The following resource page might also help:
>
[quoted text clipped - 20 lines]
> > the Addin serveral times but I keep having the Same results.  Any
> > Sugestions?
Mike Bulava - 18 Jul 2003 17:17 GMT
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...

> 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
[quoted text clipped - 9 lines]
> >
> > Building Outlook Add-ins with Visual Basic .NET

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/ht
> ml/odc_oladdinvbnet.asp
> >
[quoted text clipped - 24 lines]
> > > the Addin serveral times but I keep having the Same results.  Any
> > > Sugestions?
Mike Bulava - 18 Jul 2003 17:53 GMT
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..

> 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...
[quoted text clipped - 14 lines]
> > >
> > > Building Outlook Add-ins with Visual Basic .NET

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/ht
> > ml/odc_oladdinvbnet.asp
> > >
[quoted text clipped - 25 lines]
> > > > the Addin serveral times but I keep having the Same results.  Any
> > > > Sugestions?
Randy Byrne [MVP - Outlook] - 18 Jul 2003 18:00 GMT
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

Signature

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

> 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...
[quoted text clipped - 14 lines]
> > >
> > > Building Outlook Add-ins with Visual Basic .NET

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnout2k2/ht
> > ml/odc_oladdinvbnet.asp
> > >
[quoted text clipped - 25 lines]
> > > > the Addin serveral times but I keep having the Same results.  Any
> > > > Sugestions?
 
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.