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 Forms / November 2004

Tip: Looking for answers? Try searching our database.

Add-In program does not work in Outlook 2000 SR-1

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 24 Nov 2004 19:59 GMT
My Add-In program developed in .NET 2003 works well in Outlook 2003.
But it does not work in Outlook 2000 SR-1. When I launched Outlook 2000 SR-1,
I got an error -- "Object reference not set to an instance of an object"
My Add-In program uses a reference of Outlook XP PIA
( microsoft.office.interop.outlook.dll) and some references of
Framework V1.1.4322.

I'm wondering what is wrong, how to solve this problem.

Thanks a lot
Mike
Ken Slovak - [MVP - Outlook] - 24 Nov 2004 22:00 GMT
You need different PIA's for different versions of Outlook and usually
different compilations unless you do some complex reflection. See
http://www.microeye.com/resources/res_outlookvsnet.htm for some information
about that.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> My Add-In program developed in .NET 2003 works well in Outlook 2003.
> But it does not work in Outlook 2000 SR-1. When I launched Outlook 2000 SR-1,
[quoted text clipped - 7 lines]
> Thanks a lot
> Mike
Mike - 29 Nov 2004 14:55 GMT
Thank you, ken for your replying.
I checked the link you gave. I found that Microsoft does not offer a PIA
for Office 2000. So my problem is to how to build a PIA for Office 2000.

I appreciate your help very much.

Mike

> You need different PIA's for different versions of Outlook and usually
> different compilations unless you do some complex reflection. See
[quoted text clipped - 13 lines]
> > Thanks a lot
> > Mike
Ken Slovak - [MVP - Outlook] - 29 Nov 2004 19:25 GMT
The bottom of that page I linked you to has information about that.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Thank you, ken for your replying.
>  I checked the link you gave. I found that Microsoft does not offer a PIA
[quoted text clipped - 3 lines]
>
> Mike
Mike - 29 Nov 2004 19:57 GMT
Thank you, Ken.
I tried to rebuild the Outlook Interop Assembly based on the article.
However, when I searched "_SinkHelper" in Interop.Outlook.il, I found that
_SinkHelper classes were already Public. I could not do any change.
The version of Interop.Outlook.dll I used is 9.0.0.0.
I'm wondering if there is something wrong.

Thanks
Mike

> The bottom of that page I linked you to has information about that.
>
[quoted text clipped - 5 lines]
> >
> > Mike
Ken Slovak - [MVP - Outlook] - 30 Nov 2004 14:48 GMT
I'd start a new thread about this so someone else can answer. I don't find
managed code addins for Outlook a compelling story so I'm not really
familiar with the ins and outs of modifying PIA's. You might also try
googling for this, I'm sure there's information out there somewhere.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Thank you, Ken.
> I tried to rebuild the Outlook Interop Assembly based on the article.
[quoted text clipped - 5 lines]
> Thanks
> Mike
 
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.