How to add data to contacts list

Discussion in 'Questions (Windows Mobile)' started by thaidelphi, Aug 16, 2008.

  1. thaidelphi

    thaidelphi Member

    How to add data to contacts list
    by outlook.dll
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Add a Contact object named Contact and a PimCollection object named PimCol:
    Code:
    [LEFT][FONT=Times New Roman][COLOR=#010101]Contact.New1[/COLOR][/FONT]
    [
    FONT=Times New Roman][COLOR=#010101]Contact.CreateNew[/COLOR][/FONT]
    [
    FONT=Times New Roman][COLOR=#010101]Contact.FirstName = "John"[/COLOR][/FONT]
    [
    FONT=Times New Roman][COLOR=#010101]PimCol.New1("Contacts")[/COLOR][/FONT][/LEFT]
    [
    FONT=Times New Roman][COLOR=#010101]PimCol.AddItem(Contact.Value)
    [/COLOR][/FONT]
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice