View Single Post
  #3  
Old February 19th 09, 01:26 AM posted to microsoft.public.outlook.program_addins
Neetu
external usenet poster
 
Posts: 19
Default One Setup project for outlook 2003 AND 2007

Thanks Ken,

so That I should use Shared Add-in project for creation of add-in 2003 and
2007 ofice.?

I would also like to know more on how I can use conditional installation like
a setup project which install either a word addin or outlook add-in ,
depending on user choice?



"Ken Slovak - [MVP - Outlook]" wrote:

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