George:
I think I may have found something for you. Look at the AddressLists collection in Outlook. I found some sample code in the Outlook Language Reference that looks like, when converted to VFP:
oOutlook=CREATEOBJECT("Outlook.Application")
oNameSpace=oOutlook.GetNameSpace("MAPI")
oGAddressList=oNameSpace.AddressLists("Global Address List")
Now, I'm kinda lost at that point, and I have no way to test this (on a standalone machine) but you may be able to go from there. Look at the AddressEntries collection ;-)
>>> I think you have to change the value of GetDefaultFolder and/or cruise through the Folders collection until you find the right Folder, <<
>
>I tried that, have not been able to find a folder that references the Exchange Global address book.
>
>I have noticed that Office apps have the ability to bring up the Outlook address pick dialog. Like when creating a label in Word you can click the Address icon which brings up the dialog that allows you to pick from any of your Outlook addresses. Here you can pick from any of the address lists. I wonder if there is a way to call this dialog from within VFP?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05