A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 22nd 07, 08:44 PM posted to microsoft.public.outlook.program_addins
Michael
external usenet poster
 
Posts: 8
Default VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?

I have written an Outlook 2003 shared add-in, and it seems to run pretty
well in Outlook 2007. I am planning on migrating it to VTSO 2005 SE. I'd
like my add-in to run equally well in Outlook 2003 and Outlook 2007.
However, if it's running in Outlook 2007 I'd like to be able to take
advantage of some of the new features, like using RibbonX instead of a
toolbar that's placed on the Add-ins tab on an Inspector window.

Is this possible?

Michael


  #2  
Old January 23rd 07, 02:02 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?

It's completely unsupported, but if you set up for an Outlook 2003 VSTO 2005
SE addin and use the Outlook 2003 PIA and then change the Office reference
to an Office 2007 reference you can do what you want. Of course you would
only be able to support the Outlook 2003 object model using early binding
and could only use late binding for methods and properties added in Outlook
2007. Outlook 2007 events you couldn't handle at all.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
I have written an Outlook 2003 shared add-in, and it seems to run pretty
well in Outlook 2007. I am planning on migrating it to VTSO 2005 SE. I'd
like my add-in to run equally well in Outlook 2003 and Outlook 2007.
However, if it's running in Outlook 2007 I'd like to be able to take
advantage of some of the new features, like using RibbonX instead of a
toolbar that's placed on the Add-ins tab on an Inspector window.

Is this possible?

Michael


  #3  
Old January 23rd 07, 07:55 PM posted to microsoft.public.outlook.program_addins
Michael
external usenet poster
 
Posts: 8
Default VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?

Ahh... I suspected as much.

I am writing in C#. What would be the mechanics to get an Outlook 2007
reference in this scenario? The PIA's can only be installed on a system
with that version of Office, and you can only have one version of Outlook
installed at a time (if I understand correctly). Would I need two
development environments; one with Office 2003 to create the add-in using
the Outlook 2003 PIA and another with Office 2007 to change the reference?

If I didn't take this unsupported approach, would I instead have to refactor
my code into two add-ins (with a lot of common code), build each on
different build machines, and install the appropriate one based on the
version of Outlook installed?

Michael

"Ken Slovak - [MVP - Outlook]" wrote in message
...
It's completely unsupported, but if you set up for an Outlook 2003 VSTO
2005 SE addin and use the Outlook 2003 PIA and then change the Office
reference to an Office 2007 reference you can do what you want. Of course
you would only be able to support the Outlook 2003 object model using
early binding and could only use late binding for methods and properties
added in Outlook 2007. Outlook 2007 events you couldn't handle at all.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
I have written an Outlook 2003 shared add-in, and it seems to run pretty
well in Outlook 2007. I am planning on migrating it to VTSO 2005 SE. I'd
like my add-in to run equally well in Outlook 2003 and Outlook 2007.
However, if it's running in Outlook 2007 I'd like to be able to take
advantage of some of the new features, like using RibbonX instead of a
toolbar that's placed on the Add-ins tab on an Inspector window.

Is this possible?

Michael




  #4  
Old January 23rd 07, 08:16 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default VSTO 2005 SE add-in for Outlook 2003 & Outlook 2007?

In that scenario you would not have a reference to the Outlook 2007 PIA, you
would have one for the Outlook 2003 PIA. You would need to have installed
the Outlook 2003 PIA's either before installing Office 2007 or add them at
some other time. You can certainly have multiple versions of the PIA's
installed, I have both 2003 and 2007 on some of my dev machines and some of
my friends have PIA versions for Outlook 2000, 2002, 2003 and 2007 installed
on the same machines.

The official scenario is to develop 2 versions, one for 2003 and one for
2007. That would let the full support for each version be used. If you
develop using VSTO for an Outlook 2003 addin it will work on Outlook 2007
but of course then would not support the ribbon.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Michael" wrote in message
...
Ahh... I suspected as much.

I am writing in C#. What would be the mechanics to get an Outlook 2007
reference in this scenario? The PIA's can only be installed on a system
with that version of Office, and you can only have one version of Outlook
installed at a time (if I understand correctly). Would I need two
development environments; one with Office 2003 to create the add-in using
the Outlook 2003 PIA and another with Office 2007 to change the reference?

If I didn't take this unsupported approach, would I instead have to
refactor my code into two add-ins (with a lot of common code), build each
on different build machines, and install the appropriate one based on the
version of Outlook installed?

Michael


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vsto 2003 suddenly cannot debug outlook add-in craig spareway Add-ins for Outlook 0 November 25th 06 01:35 AM
VSTO 2005 SE is final, free (w/VS Pro 2005) and supports OL2003 *s Tadwick Outlook and VBA 5 November 15th 06 06:54 PM
Outlook 2007 Add-in using VSTO 2005 SE Kenn Outlook - Using Forms 1 November 4th 06 03:27 AM
VSTO Backwards compatibility with Outlook 2003 / 2007 abcomp Add-ins for Outlook 1 July 19th 06 04:14 PM
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 David Webb Outlook and VBA 1 June 20th 06 09:59 PM


All times are GMT +1. The time now is 03:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.