Linking Employee Photo's to Outlook contact's on the fly in VB.NET

So this sniblet is a little something I wrote a few years back that I still use today. In our environment, we have a Public folder that is available to users on the exchange server. Within the Public folder drilling down is a list of Contact cards that are maintained by our secretary. This code will pull that information and apply faces from the HTTPS source matching the employee’s information. In the end, you basically get a nice clean list with employee images attached to see who you are communicating with.

As a head’s up you may also need VSTO for the import: https://visualstudio.microsoft.com/vs/features/office-tools/
Or if you already have visual studio installed use nuGet.
https://www.nuget.org/packages/Microsoft.Office.Interop.Outlook/
NuGet PM> Install-Package Microsoft.Office.Interop.Outlook -Version 15.0.4797.1003

Leave a comment

Your email address will not be published.