Solved

Accessing Outlook from .NET

Posted on 2006-12-01
2
185 Views
Last Modified: 2010-04-16
Hi,

Can anyone tell me how I can access the functionality in Outlook from .NET?

I'm looking to synchronise Outlook contacts and tasks with a bespoke task management system we've been writing, and I can't find anything tangible on tinternet.

Cheers,

Ged
0
Comment
Question by:gedmatt
2 Comments
 
LVL 18

Accepted Solution

by:
Ravi Singh earned 100 total points
ID: 18055099
Hi, your probably after the Outlook Object Model:
http://msdn2.microsoft.com/en-us/library/ms268893(VS.80).aspx

Specifically you want to take a look at the namespaces:
Outlook.TaskItem
Outlook.ContactItem

To access these namespaces, in Visual Studio go to Project | Add Reference | COM tab and double click on "Microsoft Outlook 11.0 Object Library".

You can also find some sample code snippets that use the classes in the library here:
http://msdn2.microsoft.com/en-us/library/ms268731(VS.80).aspx (See under Outlook Contacts section)

Hope this helps!
0
 

Author Comment

by:gedmatt
ID: 18070655
Looks like just what I'm after!

Cheers,

Ged
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question