![]() |
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 |
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 |
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 |
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