Windows Address Book

  • Thread starter Thread starter Ignacio Domínguez
  • Start date Start date
I

Ignacio Domínguez

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

Thanks

Ignacio Domínguez
 
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..
 
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
 
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
 
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?

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

http://www.dotnet247.com/247reference/msgs/3/18921.aspx

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

cheers,

crea
 
Back
Top