Running .NET Addin built on Office 2003 machine on a Office 2002 machine...

P

Philip

I have a .NET addin that was written on a machine that has Office XP 2003 installed on it which adds several command bar buttons to the standard Outlook menu. The application uses references to the Microsoft Outlook 11.0 Object library. I am now trying to run that application on a machine that has Office 2002 installed on it. Should this work? My application does not seem to be loading when Outlook loads like it was on my 2003 machine. What do I need to do to make the application work
If the answer is to reference the 10.0 library, how can I do this? I only have the 11.0 libraries available in my reference list

ANY help is greatly appreciated.
 
T

Tom Rizzo [MSFT]

You have 2 choices:

1) Install Outlook 2002 on a machine and build on that machine.
2) Use late-binding. This stinks so I would recommend #1 first.

You have to build to the earliest version of Outlook if using multiple
versions which in your case is 2002.

--
Looking for a good book on programming Exchange, Outlook, ADSI and
SharePoint? Check out http://www.microsoft.com/MSPress/books/5517.asp

This posting is provided "AS IS" with no warranties, and confers no rights.



Philip said:
I have a .NET addin that was written on a machine that has Office XP 2003
installed on it which adds several command bar buttons to the standard
Outlook menu. The application uses references to the Microsoft Outlook 11.0
Object library. I am now trying to run that application on a machine that
has Office 2002 installed on it. Should this work? My application does not
seem to be loading when Outlook loads like it was on my 2003 machine. What
do I need to do to make the application work?
If the answer is to reference the 10.0 library, how can I do this? I only
have the 11.0 libraries available in my reference list.
 

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