How to difference contacts from groups

  • Thread starter Thread starter Juan Rodriguez
  • Start date Start date
J

Juan Rodriguez

Hi !
I've noticed looping through ContactItems that contacts and groups are
stored right there.
The only way of difference them is that Groups do not have a name or there
is a property ?
TIA
--
Juan M. Rodriguez
Servicios Profesionales
teg solutions argentina s.a.
(e-mail address removed)
Tel: 54-11-4590-2222
Fax: 54-11-4590-2201
www.tegsolutions.com

La calidad no está en el trabajo que hace la gente, sino en la gente que
hace el trabajo.
 
Check the value of the Class property of the Item object: 40 or olContact
indicates a Contact, 69 or olDistributionList indicates Distribution Lists
(what you are calling Groups).
 
Outlook does not store groups. What you are seeing are DistListItem objects,
i.e. distribution lists . You can use the Class property to distinguish
between them and ContactItem objects.
 
Thanks both of you !
Sue Mosher said:
Outlook does not store groups. What you are seeing are DistListItem objects,
i.e. distribution lists . You can use the Class property to distinguish
between them and ContactItem objects.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top