title: How to retrieve picture of a outlook contact
body: <pre><code>Microsoft.Office.Interop.Outlook.Items OutlookItems;
  Microsoft.Office.Interop.Outlook.Application outlookObj = new Microsoft.Office.Interop.Outlook.Application();
  MAPIFolder Folder_Contacts;
  Folder_Contacts = (MAPIFolder)outlookObj.Session.GetDefaultFolder(OlDefaultFolders.olFolderContacts);
  OutlookItems = Folder_Contacts.Items;
  
  for (int i = 0; i &lt; OutlookItems.Count; i++)
  {
      Microsoft.Office.Interop.Outlook.ContactItem contact = (Microsoft.Office.Interop.Outlook.ContactItem)OutlookItems[i + 1];
  
      bool to = contact.HasPicture; //returns false although there is a picture in Outlook.
      string h = contact.FirstName; //returns my first name
  }
  </code></pre>
  
  <p>Why is the above code not able to see the picture but can pull the first name and how can I get the picture.</p>
  
  <p>Error:</p>
  
  <p><a href="https://i.stack.imgur.com/XYPtx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XYPtx.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/pbEEi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pbEEi.png" alt="enter image description here"></a></p>