Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing email addresses in Outlook
Message
De
02/11/2004 11:51:21
 
 
À
02/11/2004 11:33:55
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00956609
Message ID:
00957101
Vues:
20
May I use Outlook.Application to automate Outlook ? I mean not Outlook Express !
Is there a way to retrive information from the Outlook Database without installing Outlook ?
Thank you
Alessio

>Hi Stan.
>
>What I cannot figure out, however, is how to do the same for the other address list in Outlook. We have a seperate contact list called 'LMC Address Book' which has an entry for each office employee that has email. This is the oNameSpace.AddressList(2) that I referred to in my initial post.
>
>
>oOutlook = CREATEOBJECT( [Outlook.Application] )
>oNameSpace = oOutlook.GetNamespace( [MAPI] )
>oAddressList = oNameSpace.AddressLists( [LMC Address Book] )
>FOR EACH oContact = oAddressList.AddressEntries
>  ?oContact.Class
>  ?oContact.Address
>  ?oContact.Name
>ENDFOR
>
>
>Does that help?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform