View Single Post
  #7  
Old February 23rd 09, 12:57 AM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default One Setup project for outlook 2003 AND 2007

Thanks Ken that's very helpful.

I wonder how many people 'out-there (e.g. the general population)' are still
using Office 2003...?

I wonder when a new version of Office will arrive... 2010?


"Ken Slovak - [MVP - Outlook]" wrote in message
...
To get the code to run on both versions the addin must be compiled on a
machine with Outlook 2003 installed.

The Outlook 2007 help has a very useful what's new. Open the Outlook VBA
project and click F1 to open the help.

CommandBars code running on Outlook 2007 will be relegated to the AddIns
tab in Inspector ribbons, Explorer UI will run correctly. The object model
is vastly enhanced in Outlook 2007, in 2003 you have to use lower level
API's to do things you can do in 2007, such as PropertyAccessor.

See Andrew Whitechapel's blog posts (he's a member of the VSTO team) on
supporting multiple versions in one addin:

http://blogs.msdn.com/andreww/archiv...of-office.aspx

http://blogs.msdn.com/andreww/archiv...hout-pias.aspx

--
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


"Mark B" wrote in message
...
Is it much of a mission then to downgrade from:

VSTO 2008 to VS2005 SE to get an Outlook 2007 Addin to work on Outlook
2003?

I can think of one difference -- the ribbon. Apart from that is there a
definative list anywhere that lists all the differences?

----

From
http://www.microsoft.com/downloads/d...isplaylang=en:

Overview

This download (VSTOR30.exe) installs the Visual Studio Tools for the
Office system 3.0 Runtime, which is required to run VSTO solutions for
the 2007 Microsoft Office system built using Microsoft Visual Studio
2008.

When installing the VSTO runtime on a non-English version of the
operating system, you should also install the appropriate language pack
to see the text of the messages from the VSTO runtime in that language,
rather than English.

Note: VSTO solutions built for use in Microsoft Office 2003 require the
Visual Studio 2005 Tools for Office Second Edition Runtime, not this one.



Ads