Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / February 2004

Tip: Looking for answers? Try searching our database.

Problem with references in Office Xp Developer designed Addin

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SFAxess - 24 Feb 2004 04:39 GMT
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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.