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 / April 2004

Tip: Looking for answers? Try searching our database.

Supporting different versions

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Koiak - 31 Mar 2004 17:03 GMT
I need to develop different addins for different versions
of Outlook. I currently develop for 2000 and still need
to support this, but I can optimise my code using the
2002 events. Is it possible to install 2 dlls but choose
which one to run depending on the version of outlook
running??

Thanks
Ken Slovak - [MVP - Outlook] - 01 Apr 2004 15:51 GMT
You should develop using the oldest library you want to support. You can
handle methods, properties and events for later versions by checking the
version and using those things only if a later version is detected. You can
then use late-binding (objects declared as Object instead of a specific
type) so the compiler won't choke on the methods, properties or events that
aren't valid for the older version of Outlook.

Signature

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

> I need to develop different addins for different versions
> of Outlook. I currently develop for 2000 and still need
[quoted text clipped - 4 lines]
>
> Thanks
 
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.