Can anyone suggest an elegant way of finding a group or contact given the
information that's available from the Name Completion ActiveX Control, i.e.
Display name, email address, email type and Address Type (user, group, etc)?

Looking at the Object API docs, it seems the system address book doesn't
support searching by 'Name', only 'First name' and 'Last name' - how would
this work for groups? I'm thinking I'll just have to loop over everything
in all the address books until I find something of the right type, and then
check its names, but there must be a better way!

Many thanks for any help.