Windows Address Book

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ignacio Domínguez

    #1

    Windows Address Book

    Hi. Is there a way of accessing the address book, similar to what Outlook
    Express does, using C#?

    Thanks

    Ignacio Domínguez


  • Crea-Ue. Kirdar

    #2
    Re: Windows Address Book

    > Hi. Is there a way of accessing the address book, similar to what Outlook[color=blue]
    > Express does, using C#?[/color]

    don't tell him, he's gonna write another worm! :)

    Comment

    • Ignacio Domínguez

      #3
      Re: Windows Address Book

      I don't think a worm with C# would be such a good idea :)

      What I need is a function that will return the records in the address book
      that contains phone numbers (house, office, fax, etc). Also a way of adding
      records to the address book will help too.

      If you can at least point me to the right direction I will appreciate it..


      "Crea-Ue. Kirdar" <usenet@creator ium.de> wrote in message
      news:bfss3d$i5c h4$1@ID-57402.news.uni-berlin.de...[color=blue][color=green]
      > > Hi. Is there a way of accessing the address book, similar to what[/color][/color]
      Outlook[color=blue][color=green]
      > > Express does, using C#?[/color]
      >
      > don't tell him, he's gonna write another worm! :)[/color]


      Comment

      • Crea-Ue. Kirdar

        #4
        Re: Windows Address Book

        hola ignacio,

        i thinkt the only way to get around this using other
        versions of office than the dotnet one will be to use
        the "old" com-object in your application. here's a page
        that describes how to use com-object in your code.



        dont dare to write a worm! :)

        cheers,

        crea


        "Ignacio Domínguez" <ignacioxd@hotm ail.com> schrieb im Newsbeitrag news:uXkTTkyUDH A.2004@TK2MSFTN GP10.phx.gbl...[color=blue]
        > I don't think a worm with C# would be such a good idea :)
        >
        > What I need is a function that will return the records in the address book
        > that contains phone numbers (house, office, fax, etc). Also a way of adding
        > records to the address book will help too.
        >
        > If you can at least point me to the right direction I will appreciate it..
        >
        >
        > "Crea-Ue. Kirdar" <usenet@creator ium.de> wrote in message
        > news:bfss3d$i5c h4$1@ID-57402.news.uni-berlin.de...[color=green][color=darkred]
        > > > Hi. Is there a way of accessing the address book, similar to what[/color][/color]
        > Outlook[color=green][color=darkred]
        > > > Express does, using C#?[/color]
        > >
        > > don't tell him, he's gonna write another worm! :)[/color]
        >
        >[/color]

        Comment

        • Ignacio Domínguez

          #5
          Re: Windows Address Book

          But which COM object provides address book support? I tried adding wab.exe,
          wabfind.dll, wabimp.dll as references to my project but VS said they were
          not COM objects. Maybe I need to use API calls, but which dll to call? wich
          functions in the dll?

          Thanks

          Ignacio Domínguez


          "Crea-Ue. Kirdar" <usenet@creator ium.de> wrote in message
          news:bftori$im2 av$1@ID-57402.news.uni-berlin.de...[color=blue]
          > hola ignacio,
          >
          > i thinkt the only way to get around this using other
          > versions of office than the dotnet one will be to use
          > the "old" com-object in your application. here's a page
          > that describes how to use com-object in your code.
          >
          > http://mceahern.manilasites.com/dotnet/usecom
          >
          > dont dare to write a worm! :)
          >
          > cheers,
          >
          > crea
          >
          >
          > "Ignacio Domínguez" <ignacioxd@hotm ail.com> schrieb im Newsbeitrag[/color]
          news:uXkTTkyUDH A.2004@TK2MSFTN GP10.phx.gbl...[color=blue][color=green]
          > > I don't think a worm with C# would be such a good idea :)
          > >
          > > What I need is a function that will return the records in the address[/color][/color]
          book[color=blue][color=green]
          > > that contains phone numbers (house, office, fax, etc). Also a way of[/color][/color]
          adding[color=blue][color=green]
          > > records to the address book will help too.
          > >
          > > If you can at least point me to the right direction I will appreciate[/color][/color]
          it..[color=blue][color=green]
          > >
          > >
          > > "Crea-Ue. Kirdar" <usenet@creator ium.de> wrote in message
          > > news:bfss3d$i5c h4$1@ID-57402.news.uni-berlin.de...[color=darkred]
          > > > > Hi. Is there a way of accessing the address book, similar to what[/color]
          > > Outlook[color=darkred]
          > > > > Express does, using C#?
          > > >
          > > > don't tell him, he's gonna write another worm! :)[/color]
          > >
          > >[/color]
          >[/color]


          Comment

          • Crea-Ue. Kirdar

            #6
            Re: Windows Address Book

            > But which COM object provides address book support? I tried adding wab.exe,[color=blue]
            > wabfind.dll, wabimp.dll as references to my project but VS said they were
            > not COM objects. Maybe I need to use API calls, but which dll to call? wich
            > functions in the dll?[/color]

            you'll find a description of referencing the ms-office-com at this address:



            didn't tried it 'til yet. dunno if its working.

            cheers,

            crea

            Comment

            Working...