Addin for office 2003 / 2007

  • Thread starter Montreal Addin Dot Net Developer
  • Start date
M

Montreal Addin Dot Net Developer

Hi,

How can I develop the same add-ins (with visual C#) that can be run under
office 2003 as well as office 2007 using the same setup installation package
?

Right now, I am having Add-ins developed with visual C# for office 2003, and
I would like to run those adding for office 2007 with minor code changes.

Thanks a lot for your Help.
 
S

SvenC

Hi,
How can I develop the same add-ins (with visual C#) that can be run under
office 2003 as well as office 2007 using the same setup installation
package ?

Right now, I am having Add-ins developed with visual C# for office 2003,
and I would like to run those adding for office 2007 with minor code
changes.

As the Office team tries to be backwards compatible you might be lucky and
it just works.
Did you try to install your addin on a machine with Office 2007?

You might need to distribute the PIAs for Office 2003.
 
M

Montreal Addin Dot Net Developer

Thanks for your reply.

Yes I did on a PC where Office 2007 is installed. When I installed the PIAs
for office 2003 to make working the Addins (developed for office 2003) for
office 2007, I had a message that I should install the office 2003 before
installing it's PIAs.

That is said, I would like to have the Addins (developed for Office 2003) to
be functionnal on a PC where only the office 2007 is installed without
changing completely the code. If this is possible, will you show me how?

Your help is very appreciated.
 
K

Ken Slovak - [MVP - Outlook]

Just develop on a machine with Outlook 2003 and if Outlook 2007 is installed
it will need the Outlook 2007 PIA's on that machine. If they are there the
Outlook 2003 addin will run unchanged except that any UI you add to
Inspectors won't appear in the Ribbon except in the AddIns tab.

You could write a checker to check the installed Office version and check
for those PIA's and then use the appropriate redistributable PIA installer
package as needed.




"Montreal Addin Dot Net Developer"
 

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