A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Select a contact programmatically



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 19th 07, 07:32 PM posted to microsoft.public.outlook.contacts
naveed
external usenet poster
 
Posts: 2
Default Select a contact programmatically

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.

Ads
  #2  
Old February 19th 07, 09:36 PM posted to microsoft.public.outlook.contacts
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Select a contact programmatically

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/comm....program_v ba

--
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

"naveed" wrote in message oups.com...
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.

  #3  
Old February 21st 07, 01:56 AM posted to microsoft.public.outlook.contacts
naveed
external usenet poster
 
Posts: 2
Default Select a contact programmatically

I sort of solved the problem by using this crude approach, after
making sure the contacts folder is being displayed:

SendKeys.Send(contact.FileAs);

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Select Contact Names for Email tdunne Outlook - Using Contacts 1 November 7th 06 08:22 PM
How to select the Internet account programmatically? James Outlook and VBA 1 October 30th 06 06:00 AM
programmatically (or otherwise) controling/editing the "Select Names" dialog box Conan Kelly Outlook - Using Forms 1 September 2nd 06 02:01 AM
Activate button when select contact [email protected] Outlook and VBA 1 June 14th 06 08:24 PM
how not to select a outside line when dialing from contact simonq Outlook - Using Contacts 1 March 31st 06 04:59 PM


All times are GMT +1. The time now is 10:12 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.