Backward compatability for Outlook Add-in

  • Thread starter Thread starter Ravikanth
  • Start date Start date
R

Ravikanth

I have an add-in which is developed for Outlook 2000 and now I am
working on it to make it compatible with Outlook 2003. Let me know
whether it is possible to keep that Add-in compatible with Outlook
2000 after making it compatible with Outlook 2003 or do I need to keep
two different versions of add-ins for 2000 and 2003.

Please let me know if u have any information or links which gives me
some idea about that.
 
I write all my addins to be compatible with Outlook 2000 - 2003 and use one
code base and installer for all three of those versions. What you have to do
is compile on a machine with Outlook 2000 installed so you are referencing
the Outlook 9 tlb and use late biding for any properties, methods or events
that were added in later versions of Outlook.

I get the Outlook version as part of my startup code and when I go to a
procedure that could only be used for a later version, such as creating a
search folder for Outlook 2003, I get the Outlook.Application object as an
Object from the global trusted Application object and use late binding on
that. You lose any Intellisense when you are developing but everything
works.
 
Back
Top