Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Windows address book

Windows address book

Scheduled Pinned Locked Moved C#
csharphelplearning
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ashish purwar
    wrote on last edited by
    #1

    I want to import all the contacts from windows address book in c# or vb.net, can any one help me with that.

    L 1 Reply Last reply
    0
    • A ashish purwar

      I want to import all the contacts from windows address book in c# or vb.net, can any one help me with that.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Hi Ashish, You meant to say that, you want to import contacts from Outlook Express's address book, didn't you? If so,[http://www.codeguru.com/forum/showthread.php?t=319689](<a href=)[^]">Click here Happy programming, Rajdeep.NET :-D

      A 1 Reply Last reply
      0
      • L Lost User

        Hi Ashish, You meant to say that, you want to import contacts from Outlook Express's address book, didn't you? If so,[http://www.codeguru.com/forum/showthread.php?t=319689](<a href=)[^]">Click here Happy programming, Rajdeep.NET :-D

        A Offline
        A Offline
        ashish purwar
        wrote on last edited by
        #3

        Actually i want to access address book of outlook express that is default in windows , not the one which comes with office outlook.once you type wab in run dialoge. you will find this.

        L 1 Reply Last reply
        0
        • A ashish purwar

          Actually i want to access address book of outlook express that is default in windows , not the one which comes with office outlook.once you type wab in run dialoge. you will find this.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Hi, The Global Address List (GAL) is an address book derived from Active Directory data maintained by the network administrator on the server. If you want to access a user's Outlook contacts, use the Namespace.GetDefaultFolder method to return the contacts folder as a MAPIFolder or (in Outlook 2007) Folder object, then iterate that folder's Items or use the Items.Find or Items.Restrict method to filter for specific criteria. The code below will get the names from the Address book:

          string sname1 = objAddressList.Item(20).c.Item(1).Name;

          H E 2 Replies Last reply
          0
          • L Lost User

            Hi, The Global Address List (GAL) is an address book derived from Active Directory data maintained by the network administrator on the server. If you want to access a user's Outlook contacts, use the Namespace.GetDefaultFolder method to return the contacts folder as a MAPIFolder or (in Outlook 2007) Folder object, then iterate that folder's Items or use the Items.Find or Items.Restrict method to filter for specific criteria. The code below will get the names from the Address book:

            string sname1 = objAddressList.Item(20).c.Item(1).Name;

            H Offline
            H Offline
            Henry Minute
            wrote on last edited by
            #5

            Stop trying to pass off answers from other sites as your own. Tell the OP that you have found a possible solution, where you found it, and most importantly give the link. Random quotes from a site help nobody.

            Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

            1 Reply Last reply
            0
            • L Lost User

              Hi, The Global Address List (GAL) is an address book derived from Active Directory data maintained by the network administrator on the server. If you want to access a user's Outlook contacts, use the Namespace.GetDefaultFolder method to return the contacts folder as a MAPIFolder or (in Outlook 2007) Folder object, then iterate that folder's Items or use the Items.Find or Items.Restrict method to filter for specific criteria. The code below will get the names from the Address book:

              string sname1 = objAddressList.Item(20).c.Item(1).Name;

              E Offline
              E Offline
              eRRaTuM
              wrote on last edited by
              #6

              Just wanted to ask you to please put a break;in this loop? anywhere is the right place!

              while(1 != 0)
              {
              ask 'how can i set the text of a textbox programmatically'
              questions;
              post 'Hi, this is MY answer (that i found on some site) of
              YOUR question!' replies;
              ask people for the code for this (the text of a textbox),
              since you think the code you have (found in some other website)
              works only for ASP.net.
              }

              And oh, I forgot... http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/fb771ae9-86e8-4568-b4d7-4216c69a223a[^]

              05BEA407F8F0DFDB7A0F1E77F473EE0F

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups