Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / February 2007

Tip: Looking for answers? Try searching our database.

Select a contact programmatically

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
naveed - 19 Feb 2007 18:32 GMT
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.
Sue Mosher [MVP-Outlook] - 19 Feb 2007 20:36 GMT
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);
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.