Retrieving data from the local addressbook in Outlook/Exchange

Retrieving data from the local addressbook in Outlook/Exchange

Post by Jakob Olse » Sat, 24 Apr 1999 04:00:00



Hi,

Does anyone know how to retrieve data from the local address book in
Outlook/Exchange into Visual Basic?!?

I can do it from the global address book from an Exchangeserver using the
following code, but I don't know how to get the local address book.

Y/Jakob

-------

Set objSession = CreateObject("MAPI.Session")
objSession.Logon ProfileNavn, ProfilePwd, False
set set hierarchy = objSession.AddressLists
set adrlist = hierarchy.item(1)
for adrcount = 1 to adrlist.addressentries.count
    set adrbook = adrlist.addressentries(adrcount)
    Name = adrbook.Name
    ID = adrbook.ID
next
objSession.Logoff
Set objSession = Nothing

 
 
 

1. Retrieving data from the local addressbook in Outlook/Exchange

Hi,

Does anyone know how to retrieve data from the local address book in
Outlook/Exchange into Visual Basic?!?

I can do it from the global address book from an Exchangeserver using the
following code, but I don't know how to get the local address book.

Y/Jakob

-------

Set objSession = CreateObject("MAPI.Session")
objSession.Logon ProfileNavn, ProfilePwd, False
set set hierarchy = objSession.AddressLists
set adrlist = hierarchy.item(1)
for adrcount = 1 to adrlist.addressentries.count
    set adrbook = adrlist.addressentries(adrcount)
    Name = adrbook.Name
    ID = adrbook.ID
next
objSession.Logoff
Set objSession = Nothing

2. Latest version of exmerge.exe for exchange 5.5??

3. Outlook retrieving data from Exchange server message

4. message stats

5. Local copy of data in outlook with exchange master copy is this posible

6. Auto CC mail to another user use by Exchange server

7. Outlook trying to retrieve data, but Exchange not providing it

8. OWA - Unable to change domain password

9. Outlook retrieving data from Exchange Server

10. Outlook is retrieving data from the Exchange

11. Outlook is trying to retrieve data

12. Outlook is retrieving data... error

13. "Outlook is retrieving data..." message