How to retrieve contacts from a defined folder

K

kfrost

Say my users have a contacts folder called Test, I'm using C# to create an
addin to retrieve these contacts. I've figured out how to do it from the
default contacts folder but I'm not sure how to extract them from a user
defined folder.

Any pointers would be appreciated.
 
K

kfrost

Thank you Sue,

I looked at that before posting this. One of the problem's is how do you
know what the folder path is for local contact folders?

If I just create a folder like described below called test. Then
additionally if I created a sub folder under that called test\leads?

I've figured out how to traverse through public folders using webdav.

To give you a little more insite, what I'm looking to do is come up with an
addin that will allow users to cache contacts BCM folders.

So first i'm looking to see if you use can use the outlook object to get
contact items returned back to you just like you can with normal folders. If
you can then I'm going to create local folders in the pst or exchange folders
to get cached and then write the contacts to the folder.

Also, I know vb.net as well as C#. either way is fine.

Thanks
 
S

Sue Mosher [MVP-Outlook]

If you're using Outlook 2002 or 2003, you can use look in the Address box of the Web toolbar (and don't forget to take off the Outlook: prefix). Otherwise, just construct it by looking at the folder hierarchy.

BCM contacts are exposed in the Outlook object model as normal ContactItem objects.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top