Solved

Accessing Outlook from .NET

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now