A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook Contacts



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 24th 06, 11:26 PM posted to microsoft.public.outlook.program_addins
Dave
external usenet poster
 
Posts: 15
Default 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



  #2  
Old March 27th 06, 05:53 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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




  #3  
Old May 15th 06, 06:13 PM posted to microsoft.public.outlook.program_addins
Dave
external usenet poster
 
Posts: 15
Default 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






  #4  
Old May 15th 06, 06:35 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default 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






 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Have OUTLOOK Contacts incl contacts sub-dirs displayed as TABS. Wim-PA3AGZ Outlook - Using Contacts 1 March 13th 06 09:45 AM
How do I synchronize Hotmail contacts with Outlook 2003 contacts WiMa Outlook - Using Contacts 1 March 8th 06 05:00 AM
Is it possible to convert BCM contacts to Outlook contacts? xfile Outlook - Using Contacts 3 February 13th 06 05:50 PM
HOw do I export contacts from Outlook to my Outlook Web contacts Michael LIghtfoot Outlook - Using Contacts 1 February 1st 06 07:16 PM


All times are GMT +1. The time now is 08:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.