Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Applications / November 2005

Tip: Looking for answers? Try searching our database.

Getting a contact list using C#

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Rynearson - 08 Nov 2005 16:20 GMT
Can anyone direct me to sources / code examples showing how I can access my
outlook contact list using C# and a Web application.

Here is what I am using:
Windows XP Professional
Visual Studio 2003 Enterprise
Outlook 2003

I have Googled the web for information:
I have tried to add the Safe Address Book wrapper into my VStudio project
but cannot, and I have added the CDO 1.21 library but am really unsure how I
can leverage this class.

Any help on links or code would be greatly appreciated.

Gary
Dan Mitchell - 08 Nov 2005 16:34 GMT
> Can anyone direct me to sources / code examples showing how I can
> access my outlook contact list using C# and a Web application.
[quoted text clipped - 3 lines]
> project but cannot, and I have added the CDO 1.21 library but am
> really unsure how I can leverage this class.

You shouldn't really be using CDO1.21 with C#, because it's one of the
non-.net-friendly APIs:

http://support.microsoft.com/kb/813349

If you're stuck with C#, your best bet is to use the Outlook object model
-- that one's okay with .Net:

http://support.microsoft.com/kb/872895

See www.outlookcode.com for how to code with the OOM.

-- dan
Gary Rynearson - 08 Nov 2005 17:41 GMT
Dan

Thanks alot - I will check out the links you provided.  This is just the
information I was looking for.

Gary

>> Can anyone direct me to sources / code examples showing how I can
>> access my outlook contact list using C# and a Web application.
[quoted text clipped - 17 lines]
>
> -- dan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.