Solved

Accessing Outlook from .NET

Posted on 2006-12-01
2
188 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

705 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