>Is there a way to retrieve all the email address' from MS outlook using VFP6?
It could be as simple as:
oOutlook = createobject("outlook.application")
oNameSpace = oOutlook.GetNameSpace("MAPI")
oNameSpace.Logon
oFolder = oNameSpace.GetDefaultFolder(10) && contacts
for each oItem in oFolder.Items
if type("oItem.Email1Address") == "C"
? oItem.Email1Address
endif
next
Stu