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 / Interop / May 2008

Tip: Looking for answers? Try searching our database.

How to write a dot net app to support outlook 98, outlook 2003 and     outlook 2007.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 14 May 2008 15:12 GMT
I am creating a dot net application that has to support outlook 98,
outlook 2003 and outlook 2007.

I can add a reference to the c# project for outlook 98 and most things
work across the versions.

However I am try to hook up the mailItem.Send event and am having
issues as outlook 98 event/delegate has different signatures than
outlook 2003. To cope with this I have created an overloaded function
one for each signature.

This approach has not worked and the event is only caught under
outlook 98. No errors are generated.

Is there a way around this or a better way to support multiple
versions of outlook in c#?

I hope this is the right place to post this message. All ideas
welcome.

Thanks
Ken Slovak - [MVP - Outlook] - 14 May 2008 22:54 GMT
Answered in microsoft.public.outlook.

Signature

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

>I am creating a dot net application that has to support outlook 98,
> outlook 2003 and outlook 2007.
[quoted text clipped - 17 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.