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. Web Development
  3. ASP.NET
  4. Import export outlook contacts

Import export outlook contacts

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelp
4 Posts 3 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.
  • S Offline
    S Offline
    ShuklaGirish
    wrote on last edited by
    #1

    Hi, i want to create one option for importa nd export outlook contacts from my asp.net web page.One of the way to retrive the contacts is, MyOutlook.Application oApp = new MyOutlook.Application(); oApp.AnswerWizard.ClearFileList(); oApp.ActiveWindow(); MyOutlook.MAPIFolder oContacts = (MyOutlook.MAPIFolder)oApp.Application.ActiveExplorer().Session.GetDefaultFolder(MyOutlook.OlDefaultFolders.olFolderContacts); foreach (MyOutlook.ContactItem oContact in oContacts.Items) { Response.Write(oContact.Email1DisplayName); } How should i export the data to outlook. Pls help me if u know anything related to this. Thanks. GIRISH

    S 1 Reply Last reply
    0
    • S ShuklaGirish

      Hi, i want to create one option for importa nd export outlook contacts from my asp.net web page.One of the way to retrive the contacts is, MyOutlook.Application oApp = new MyOutlook.Application(); oApp.AnswerWizard.ClearFileList(); oApp.ActiveWindow(); MyOutlook.MAPIFolder oContacts = (MyOutlook.MAPIFolder)oApp.Application.ActiveExplorer().Session.GetDefaultFolder(MyOutlook.OlDefaultFolders.olFolderContacts); foreach (MyOutlook.ContactItem oContact in oContacts.Items) { Response.Write(oContact.Email1DisplayName); } How should i export the data to outlook. Pls help me if u know anything related to this. Thanks. GIRISH

      S Offline
      S Offline
      Sun Rays
      wrote on last edited by
      #2

      Hi, check this link http://www.codeproject.com/csharp/outlookconnector.asp?df=100&forumid=28108&exp=0&select=1411593[^]

      Thanks, Sun Rays Rate this post if you like answer.

      S 1 Reply Last reply
      0
      • S Sun Rays

        Hi, check this link http://www.codeproject.com/csharp/outlookconnector.asp?df=100&forumid=28108&exp=0&select=1411593[^]

        Thanks, Sun Rays Rate this post if you like answer.

        S Offline
        S Offline
        ShuklaGirish
        wrote on last edited by
        #3

        Hi, thanks for yr replu but I want to do it in asp.net,not in windows application.

        P 1 Reply Last reply
        0
        • S ShuklaGirish

          Hi, thanks for yr replu but I want to do it in asp.net,not in windows application.

          P Offline
          P Offline
          pmarfleet
          wrote on last edited by
          #4

          The core code in this article for reading the data from Outlook isn't platform-specific. You can use it in a Windows or ASP.NET application. Obviously you will have to write your own front-end, but this is trivial.

          Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

          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