How to integrate lync with a windows form application

Cogslave picture Cogslave · May 16, 2012 · Viewed 9.1k times · Source

I have an application written in .net winforms.

There is a form that shows the author of the document, I am required to add the Lync presence orb next to the authors name.

The same as the one you can see in Outlook when add a contact to an email.

Is there a prebuilt winforms control for this presence orb?

Answer

Tom Morgan picture Tom Morgan · May 16, 2012

Microsoft have made available a set of WPF controls that make it very easy to add things like presence into existing applications. I blogged about it last week here: http://thoughtstuff.co.uk/2012/05/microsoft-lyncs-development-secret-its-easy/

However, this is only for Silverlight and WPF. If you're developing in classic WinForms, it's possible to host WPF controls within a WinForms app: MSDN has information on doing this here, and there's a good walk-through here.