C# VSTO Outlook 2007: How to show contact by EntryID
- by DjCzermino
How to open Contact using C# VSTO Outlook 2007 addin by EntryID.
Now I am foreaching all contacts in Contact Folder:
string entryid = ...
Outlook.Application outlookApp = new Outlook.Application();
Outlook.MAPIFolder fldContacts = outlookApp.Session.GetDefaultFolder(Outlook.OlDefaultFolders.olFolderContacts) as Outlook.MAPIFolder;
foreach…