Hi All,
I have been developing an Outlook Addin using the MOD
addin designer. I want to be able to use the addin with
Outlook 2000 and 2002. The problem is, I am having issues
with the object library references, since the user with
2000 is not going to have the 2002 object libraries.
I figured I could change the references using code,
however,I can't figure out how to change the references
using VBA because the OL Application object doesn't have
a references collection.
Any ideas would be most appreciated.
Thanks!
Ken Slovak - [MVP - Outlook] - 24 Feb 2004 16:40 GMT
Just develop on a machine with Outlook 2000 installed and don't use
any object properties, methods or events that aren't in Outlook 2000
in your code. The code should then run without change on Outlook 2002.
I do it that way for code that has to run on Outlook 2000, 2002 or
2003.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Hi All,
> I have been developing an Outlook Addin using the MOD
[quoted text clipped - 8 lines]
> Any ideas would be most appreciated.
> Thanks!
SFAxess - 24 Feb 2004 23:20 GMT
Thanks Ken,
I will give that a try.
Would packaging differing object libraries with the setup
files as dependencies be a possible solution?
Thanks!
>-----Original Message-----
>Just develop on a machine with Outlook 2000 installed and don't use
[quoted text clipped - 17 lines]
>
>.
Ken Slovak - [MVP - Outlook] - 25 Feb 2004 14:51 GMT
Legally you're not allowed to repackage and distribute any Outlook
libraries, and due to various dependencies you'd basically have to
re-create a complete Outlook installation to make sure that all
required DLL's were installed and registered anyway.

Signature
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginners Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
> Thanks Ken,
> I will give that a try.
> Would packaging differing object libraries with the setup
> files as dependencies be a possible solution?
> Thanks!
Tom Winter - 25 Feb 2004 17:23 GMT
> Hi All,
> I have been developing an Outlook Addin using the MOD
[quoted text clipped - 8 lines]
> Any ideas would be most appreciated.
> Thanks!
Ken is correct. Here is Microsoft's article on this topic:
INFO: Writing Automation Clients for Multiple Office Versions
http://support.microsoft.com/default.aspx?scid=kb;EN-US;244167

Signature
Tom Winter
Tom@NoSpam.AmosFiveSix.com
www.AmosFiveSix.com