Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   Outlook Contacts (http://www.outlookbanter.com/add-ins-outlook/9416-outlook-contacts.html)

Dave March 24th 06 11:26 PM

Outlook Contacts
 
I don't know if anyone has experienced issues like the one I've experienced,
but with the advent of Outlook 2003, I have noticed that users have been
creating contact folders all over the place in outlook. Because of this,
I've had to write logic to recurse folders all over the place. Is there
anyway to get a Contacts Folders collection that contains the folders that
contain contacts in them ? or maybe somebody could help me with what they
think is the best way to find a contact item when you really don't know
where the contact object is ?

Dave




Ken Slovak - [MVP - Outlook] March 27th 06 05:53 PM

Outlook Contacts
 
There's no magic GetContactFolders method, you just have to start at the top
of store and recurse each folder and subfolder, etc. and find all the
contacts folders wherever they've been created.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dave" wrote in message
...
I don't know if anyone has experienced issues like the one I've
experienced,
but with the advent of Outlook 2003, I have noticed that users have been
creating contact folders all over the place in outlook. Because of this,
I've had to write logic to recurse folders all over the place. Is there
anyway to get a Contacts Folders collection that contains the folders that
contain contacts in them ? or maybe somebody could help me with what they
think is the best way to find a contact item when you really don't know
where the contact object is ?

Dave





Dave May 15th 06 06:13 PM

Outlook Contacts
 
Is there any code samples available that demonstrate the recursing through
the folders and sub folders out on the web anywhere ?


"Ken Slovak - [MVP - Outlook]" wrote in message
...
There's no magic GetContactFolders method, you just have to start at the

top
of store and recurse each folder and subfolder, etc. and find all the
contacts folders wherever they've been created.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dave" wrote in message
...
I don't know if anyone has experienced issues like the one I've
experienced,
but with the advent of Outlook 2003, I have noticed that users have been
creating contact folders all over the place in outlook. Because of

this,
I've had to write logic to recurse folders all over the place. Is there
anyway to get a Contacts Folders collection that contains the folders

that
contain contacts in them ? or maybe somebody could help me with what

they
think is the best way to find a contact item when you really don't know
where the contact object is ?

Dave







Sue Mosher [MVP-Outlook] May 15th 06 06:35 PM

Outlook Contacts
 
Here's a basic one: http://www.outlookcode.com/codedetail.aspx?id=628 You'll want to modify it to check the DefaultItemType property of each folder, so you can determine which are contacts folders.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Dave" wrote in message ...
Is there any code samples available that demonstrate the recursing through
the folders and sub folders out on the web anywhere ?


"Ken Slovak - [MVP - Outlook]" wrote in message
...
There's no magic GetContactFolders method, you just have to start at the

top
of store and recurse each folder and subfolder, etc. and find all the
contacts folders wherever they've been created.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dave" wrote in message
...
I don't know if anyone has experienced issues like the one I've
experienced,
but with the advent of Outlook 2003, I have noticed that users have been
creating contact folders all over the place in outlook. Because of

this,
I've had to write logic to recurse folders all over the place. Is there
anyway to get a Contacts Folders collection that contains the folders

that
contain contacts in them ? or maybe somebody could help me with what

they
think is the best way to find a contact item when you really don't know
where the contact object is ?

Dave








All times are GMT +1. The time now is 07:12 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com