I'm writing a C# addin, to do some contact management. I'm stumped on
this seemingly trivial task. I want to select (focus) a contact item.
How can I do this? Thanks in advance.
Select an item in a folder view? That's not possible.
FYI, there is a newsgroup specifically for general Outlook programming issues "down the hall" at microsoft.public.outlook.program_vba or, via web interface, at http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public
.outlook.program_vba

Signature
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
> I'm writing a C# addin, to do some contact management. I'm stumped on
> this seemingly trivial task. I want to select (focus) a contact item.
> How can I do this? Thanks in advance.
naveed - 21 Feb 2007 00:56 GMT
I sort of solved the problem by using this crude approach, after
making sure the contacts folder is being displayed:
SendKeys.Send(contact.FileAs);