View Single Post
  #2  
Old February 18th 09, 06:50 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default One Setup project for outlook 2003 AND 2007

I almost never use separate projects, I almost always use just one.

You have to compile on a machine with the earliest version of Office/Outlook
where the code should run. Any later methods or properties added to the
object model can only be accessed using reflection (late binding). Otherwise
the code will run as is on Outlook 2007 when compiled on Outlook 2003.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Neetu" wrote in message
...
I Have two projects for 2003 and 2007 outlook.
Is it possible to create a single project which can work both for 2003 and
2007?

1. can I use shared addin project for this?
2. if not .. I want to detect which version of outlook user has at
installation
and run respective setup. how to do that ?
from where i can get more information on conditional Setups?

I had posted my question in Add-in-general section. Roady (MVP) sugested
me
to post this query here. he also mentioned both 1 and 2 is possible.

If yes can any one give more details or Links where i can find more on
this?


Suggestions are highly appriciated.

Thanks
Neetu


Ads