Populate Text Box with Contacts from Public Folder

  • Thread starter Thread starter Chuck Rich
  • Start date Start date
C

Chuck Rich

I'm trying find a way to populate several text boxes in a custom form
with selected contact names that are in a contact list in public
folders. I've seen references to this in looking up your default
personal contacts but nothing for public folders. Ultimately, I'd
like to have a command button that will launch a lookup for the
contacts folder in Public Folders and populate the adjacent text box
with the contact selection.
 
Chuck Rich said:
I've seen references to this in looking up your default
personal contacts but nothing for public folders.
There is no difference in how you walk the folder tree for public
folders than for .pst folders. You get the root folder object from the
name space object. That's "Public Folders". The next one is "All
Public Folders". After that, the names are yours. Walk to where you
want to get, dropping creating and dropping folder objects as needed.

Hollis D. Paul [MVP - Outlook]
(e-mail address removed)
Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195
http://search.support.microsoft.com/kb/c.asp?FR=0&SD=TECH&LN=EN-US

Mukilteo, WA USA
 
Back
Top