Display username from phone book to my own application

Hi,

 

I am new in using C#. I am write a program for WM 5.0 pockect PC .I would like to display username on to the listbox from phone book to my own application using C#.

 

Thanks

 

 




Answer this question

Display username from phone book to my own application

  • fddsfsdf

    Hi

    I assume you want to list the Outlook contacts. In this case have a look at the Microsoft.WindowsMobile.PocketOutlook namespace. These classes provide the functionality you need.

    Hope this is what you're looking for.
    Michael



  • baghels2007

    Thanks.. for the help :)



  • C. Charpentier

    thanks

     

    I have already download the sdk file but i still an error.

    there the error:

    Error 1 Metadata file '..\..\..\..\..\..\..\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\PocketPC2003\Designtimereferences\Microsoft.WindowsMobile.PocketOutlook.dll' could not be found C:\Documents and Settings\Studadmin\My Documents\Visual Studio 2005\Projects\DeviceApplication8\DeviceApplication8\CSC IncomingCall

    May i know how to do it

     



  • Michael G. Emmons

    From the filepath in your error it looks like you are targetting ppc2003. Microsoft.WindowsMobile.PocketOutlook is not supported on PPC 2003, only in Windows Mobile 5.0 and higher versions.

    An MVP has developed "Mobile In The Hand v2.0" (http://www.inthehand.com/WindowsMobile.aspx) which is similar to WindowsMobile.PocketOutlook and it works on PPC 2003 as well. You might want to check it out.


  • mvsure

    Do you have Windows Mobile 5.0 PPC and SP SDK installed If not, than you may not see the reference to the required DLL

    Manav



  • Devi48354

    hi,

    there error if i add that. I think its because i could not add reference. In my reference table i could not find Microsoft.WindowsMobile.PocketOutlook.



  • Display username from phone book to my own application