PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Get All Contact Properties

Reply

Get All Contact Properties

 
Thread Tools Rate Thread
Old 28-02-2005, 06:55 PM   #1
Matt Williamson
Guest
 
Posts: n/a
Default Get All Contact Properties


Is there any way to get all contact properties without specifying what
property I want? My contact form is custom and contains many extra fields.
I'd like to just loop through the entire collection and write out the name
and value of all properties for all contact items in my public folders. I
haven't found any examples using the Outlook Object Model or CDO that
indicate this is possible, but I know it has to be at some level since
OutlookSpy is able to enumerate them this way and is able to read the extra
fields.

TIA

Matt


  Reply With Quote
Old 28-02-2005, 07:06 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Get All Contact Properties

You can use the ItemProperties collection in Outlook 2002/3, but I don't
think it will handle Links, since it's not a property with a single value.

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


"Matt Williamson" <ih8spam@spamsux.org> wrote in message
news:OjLBYccHFHA.4048@TK2MSFTNGP15.phx.gbl...
> Is there any way to get all contact properties without specifying what
> property I want? My contact form is custom and contains many extra fields.
> I'd like to just loop through the entire collection and write out the name
> and value of all properties for all contact items in my public folders. I
> haven't found any examples using the Outlook Object Model or CDO that
> indicate this is possible, but I know it has to be at some level since
> OutlookSpy is able to enumerate them this way and is able to read the
> extra fields.
>
> TIA
>
> Matt
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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