By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,182 Members | 1,141 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,182 IT Pros & Developers. It's quick & easy.

Windows Address Book

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

Thanks

Ignacio Domínguez
Nov 15 '05 #1
Share this Question
Share on Google+
5 Replies


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


don't tell him, he's gonna write another worm! :)
Nov 15 '05 #2

P: n/a
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" <us****@creatorium.de> wrote in message
news:bf************@ID-57402.news.uni-berlin.de...
Hi. Is there a way of accessing the address book, similar to what Outlook Express does, using C#?


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

Nov 15 '05 #3

P: n/a
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" <ig*******@hotmail.com> schrieb im Newsbeitrag news:uX**************@TK2MSFTNGP10.phx.gbl...
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" <us****@creatorium.de> wrote in message
news:bf************@ID-57402.news.uni-berlin.de...
Hi. Is there a way of accessing the address book, similar to what Outlook Express does, using C#?


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



Nov 15 '05 #4

P: n/a
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" <us****@creatorium.de> wrote in message
news:bf************@ID-57402.news.uni-berlin.de...
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" <ig*******@hotmail.com> schrieb im Newsbeitrag

news:uX**************@TK2MSFTNGP10.phx.gbl...
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" <us****@creatorium.de> wrote in message
news:bf************@ID-57402.news.uni-berlin.de...
> Hi. Is there a way of accessing the address book, similar to what

Outlook
> Express does, using C#?

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


Nov 15 '05 #5

P: n/a
> 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

Nov 15 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.