RepeatHost Business Hosting

microsoft outlook

C# Programmatically Manage Contacts in Microsoft Outlook

You can manage contacts in Microsoft Outlook (2000 or higher) using C# and Outlook COM Interop. Microsoft has made it easy with Outlook 2003 and Outlook 2007. There is an interop class library already available in Visual Studio so you don't have the generate the Interop wrapper yourself. In order to set this up, the first step is to add a reference to the Outlook Interop DLL in your .NET C# project. Go to "Add References" and choose the following:

set reference to outlook interop