Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Mon, 26 May 2008 01:36:01 -0700,    group: microsoft.public.win32.programmer.ui        back       


Windows mail Contact   
Hi, 

 

I need to use windows mail contact( ICantact interface ) to get all the 
contacts details. I can easily get the Name Collections.

 

I query the IContactProperties interface using IContact interface. 

Using IContactProperties interface i get all the name and email address. 

 

How to get phone number like CONTACTLABEL_PUB_VOICE,  
CONTACTLABEL_PUB_MOBILE for  home and work place.?

 

Thanks in advance

 

viji
date: Mon, 26 May 2008 01:36:01 -0700   author:   vijay

Re: Windows mail Contact   
There is one (or there are two) messaging newsgroups where people are more 
familiar with that stuff. I think there is at least one relevant Outlook 
newsgroup, if that is what you are using and developing for.


"vijay"  wrote in message 
news:38561011-E135-4E3D-B2D5-164909CE66AD@microsoft.com...
> Hi,
>
>
>
> I need to use windows mail contact( ICantact interface ) to get all the
> contacts details. I can easily get the Name Collections.
>
>
>
> I query the IContactProperties interface using IContact interface.
>
> Using IContactProperties interface i get all the name and email address.
>
>
>
> How to get phone number like CONTACTLABEL_PUB_VOICE,
> CONTACTLABEL_PUB_MOBILE for  home and work place.?
>
>
>
> Thanks in advance
>
>
>
> viji
>
>
date: Mon, 26 May 2008 20:58:29 -0700   author:   Sam Hobbs _change_social_to_socal

RE: Windows mail Contact   
Hi Vijay,

You can use IContactProperties::GetPropertyCollection to query this 
information.  When you create a property collection you can provide a label 
set and/or a collection to filter on.  Enumerating the returned collection 
will give you all the nodes for a given collection that have the specified 
labels (or the collection will be empty if there aren't any).  Note that the 
labels are applied to the node, so you need to append "/Number" if you want 
the phone number value.

I can point you to some sample code in C# that does this if it will help.

Hope that helps,
-Joe

"vijay" wrote:

> Hi, 
> 
>  
> 
> I need to use windows mail contact( ICantact interface ) to get all the 
> contacts details. I can easily get the Name Collections.
> 
>  
> 
> I query the IContactProperties interface using IContact interface. 
> 
> Using IContactProperties interface i get all the name and email address. 
> 
>  
> 
> How to get phone number like CONTACTLABEL_PUB_VOICE,  
> CONTACTLABEL_PUB_MOBILE for  home and work place.?
> 
>  
> 
> Thanks in advance
> 
>  
> 
> viji
>
date: Thu, 12 Jun 2008 11:10:00 -0700   author:   JoeCast [MS]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us