VB & Outlook / Exchange GAL
I have VB 6.0 & I would like to read the the name or other field of all the member of a distribution list from Outlook / Exchange Gobal Address List.
Can anyone help.
Thanks
Web Development
I have VB 6.0 & I would like to read the the name or other field of all the member of a distribution list from Outlook / Exchange Gobal Address List.
Can anyone help.
Thanks
by sunsesh
From the Outlook help:
Using the AddressEntries Object
The following example sets a reference to an AddressEntries object.
Set myOlApp = CreateObject("Outlook.Application")
Set myNameSpace = myOlApp.GetNameSpace("MAPI")
Set myAddressList = myNameSpace.AddressLists("Personal Address Book")
Set myAddressEntries = myAddressList.AddressEntries
You can also index directly into the AddressEntries object, returning an AddressEntry object.
Set myAddressEntry = myAddressList.AddressEntries(index)
Thanks for replying but What I need is to read the required fields of all the Member in a Distribution List/ Group.
Thanks once again
This discussion is closed to new replies.
Sort by Trending