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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

What would be the best approach to support multiple versions ofOutlook?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 4th 08, 04:51 PM posted to microsoft.public.outlook.program_vba
willemsch
external usenet poster
 
Posts: 3
Default What would be the best approach to support multiple versions ofOutlook?

Hi,

I was creating a VSTO add-in on visual studio 2005 (C#) for my office
2007 on my machine. It seemed all nice, but the n I tried to run the
setup on my other PC with Office 2003 and the install went OK, even my
added commandbar button showed, but as soon as I clicked a button, the
reference to the office 12 object library kicked in, and so the
program crashed, of course...

I would like to have my program available to office 2007 and office
2003, what would be the best method of getting this to happen?

Should I create two different VSTO projects, or just stick with COM
programming?

Please some advice, thanks
Ads
  #2  
Old February 4th 08, 06:18 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default What would be the best approach to support multiple versions of Outlook?

The rule of thumb is to develop on a machine with the oldest version you
want to support and to reference that PIA. Of course for Outlook 2007 that
means no Ribbon support if you develop on the Outlook/Office 2003 object
model, unless you use hacks that are completely unsupported by MS and the
VSTO team.

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


"willemsch" wrote in message
...
Hi,

I was creating a VSTO add-in on visual studio 2005 (C#) for my office
2007 on my machine. It seemed all nice, but the n I tried to run the
setup on my other PC with Office 2003 and the install went OK, even my
added commandbar button showed, but as soon as I clicked a button, the
reference to the office 12 object library kicked in, and so the
program crashed, of course...

I would like to have my program available to office 2007 and office
2003, what would be the best method of getting this to happen?

Should I create two different VSTO projects, or just stick with COM
programming?

Please some advice, thanks


  #3  
Old February 5th 08, 05:55 PM posted to microsoft.public.outlook.program_vba
willemsch
external usenet poster
 
Posts: 3
Default What would be the best approach to support multiple versions ofOutlook?

Hi,

I downloaded your Attachment Options software. And this supports
multiple versions of outlook. How did you create this? Using VSTO? How
did you get it to work on multiple versions, did u use late binding
for connecting to outlook? What language/ide did u use to create this?

thanks



On Feb 4, 7:18 pm, "Ken Slovak - [MVP - Outlook]"
wrote:
The rule of thumb is to develop on a machine with the oldest version you
want to support and to reference that PIA. Of course for Outlook 2007 that
means no Ribbon support if you develop on the Outlook/Office 2003 object
model, unless you use hacks that are completely unsupported by MS and the
VSTO team.

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

"willemsch" wrote in message

...

Hi,


I was creating a VSTO add-in on visual studio 2005 (C#) for my office
2007 on my machine. It seemed all nice, but the n I tried to run the
setup on my other PC with Office 2003 and the install went OK, even my
added commandbar button showed, but as soon as I clicked a button, the
reference to the office 12 object library kicked in, and so the
program crashed, of course...


I would like to have my program available to office 2007 and office
2003, what would be the best method of getting this to happen?


Should I create two different VSTO projects, or just stick with COM
programming?


Please some advice, thanks


  #4  
Old February 5th 08, 07:03 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default What would be the best approach to support multiple versions of Outlook?

That addin was written using VB6 and is developed and compiled on an
Office/Outlook 2000 virtual machine. I don't use any properties or methods
in that addin that aren't in the Outlook or Office 2000 object models.

All I had to do for support for later versions is maintain tables of what
attachment extensions are restricted in various versions and service packs
of Outlook.

I did have to add a manifest file for installation on Vista, but that has
nothing to do with Outlook.

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


"willemsch" wrote in message
...
Hi,

I downloaded your Attachment Options software. And this supports
multiple versions of outlook. How did you create this? Using VSTO? How
did you get it to work on multiple versions, did u use late binding
for connecting to outlook? What language/ide did u use to create this?

thanks


 




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
Using forms across multiple versions of Outlook Lancaster John Outlook - Using Forms 1 October 19th 07 02:19 PM
I have a problem with multiple versions of contacts in Outlook TM Outlook - Using Contacts 2 June 4th 07 03:43 PM
Best sharing method for multiple versions Lizzie Outlook - Calandaring 1 May 14th 07 08:08 PM
Outlook Views & Filters - multiple language support [email protected] Outlook - General Queries 0 March 7th 07 02:39 PM
Multiple Domain Support L. DeFoor Outlook - General Queries 1 October 20th 06 02:02 AM


All times are GMT +1. The time now is 12:25 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.