Solved

Accessing Outlook from .NET

Posted on 2006-12-01
2
187 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

733 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