simon.bruynsteen

Hi,

I'm developing an outlook addin that allows the users to browse data from our business application.

I added some new functionalities, therefore I used formregions and winforms in Outlook.

I want to add a button to lookup a contact person and fill in the contact person in a textbox. Is it possible to use the default outlook lookup form for contact persons, as you can find it in a new mail screen

I'm using VSTO 2005 SE + VS2008 Beta 2

Thanks in advance,

Kind regards


Simon Bruynsteen



Re: Visual Studio Tools for Office Outlook AddIn; Using Default Outlook screens in winform

Sue Mosher - Outlook MVP

In Outlook 2007, use the Namespace.GetSelectNamesDialog method.

Outlook 2003 has no comparable method, so you'd need either the third-party Redemption library or the Address Book wrapper ActiveX control (MSOSVABW.DLL) that comes with Outlook. (CDO 1.21 can do it, too, but triggers security prompts and is not supported in .NET languages.)