Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing email addresses in Outlook
Message
 
À
01/11/2004 15:24:24
Stan Vaninger
Mitek Industries, Inc
Missouri, États-Unis
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:
00956773
Vues:
14
If you do it inside the command window, autocompletion will present the ptoperties.

From command window:
oOL=createobject('Outlook.Appliaction')
oOL. && should show a list of available properties.

Most of my outlook stuuf (and CDOEX) in off site - I will look at it tommorrow.

But I did find a good wiki article
http://fox.wikis.com/wc.dll?Wiki~AutomationExamples~VFP

Give it a try and let me know. You have to work through a mailbox or contact collection.
I thought it was as simple as this:
oContact.AddressEntries[1].Address
But - if you're doing it inside a PRG you wont see it in autocompletion. If that is your case - try from command window!


>Terry,
>
>Thanks very much for your reply.
>
>Unfortunately, I don't quite follow you.
>
>If I enter in the command window the line,
>
>? oContact.AddressEntries[1].Name
>
>the name of the first person in the contacts list is displayed. How can I determine what the other 'fields' are that would give access to the other information like the email address.
>
>When I try your suggestions of oContact.Email1.Address and oContact.ContactItem.Email1.Address, I get OLE error, 'Unknown name.'
>
>Stan
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform