You would use SelectNamesDialog.Recipients.Item(1).AddressEntry. GetContact
to get the contact and from there you read any contact property you want.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"shubhangi" wrote in message
...
hello
I'm displaying AddressBook in Outlook 2007 (from VSTO Addin)with
App.GetNamespace("MAPI").GetSelectNamesDialog
The user is allowed to select only one entry.I want to get the selected
contact entry's corresponding phone
no. The selected contact entry say A B is shown in address book as
DisplayName
A B(Business Fax)
A B(Home Fax)
A B(Other Fax)
If the user select A B(Home Fax),I need to retrieve Home Fax no.Do I've to
get contact
from AddressENtry.GetContact & then check the selected contact entry from
addressbook with Contact's all types of
phone nos or any other way is there?
Thanks