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~VFPGive 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