473,387 Members | 1,553 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
Nov 15 '05 #1
5 10436
> 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
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
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
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
> 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using...
0
by: ven | last post by:
Hi , Can ny one please point me to a sample C# program to access Windows address book? Thanks in Advance
1
by: Sam Martin | last post by:
hi all, In between banging my head against a brick wall, i'm trying to find out how to access the windows address book from my C# application. has anyone done this or got any ideas on how i...
0
by: Lam | last post by:
Hello everyone, I would like to write a program to use the contact information in windows address book. How should I call the WAB API? I have found information in MSDN but all are written in...
11
cjbrx3115
by: cjbrx3115 | last post by:
Hey guys- I just got this email from my friend. I'm not sure it will really work (it's a forward), so I'm askin' you people. Well, here it is: ...
2
by: =?utf-8?B?6Km55YWJ6ICA?= | last post by:
Hi all! I wonder if there's any Python module that could read from .wab file. I googled but found nothing useful. Any idea? Thanks :) Rio
1
by: Lpitt56 | last post by:
I am running MS Access 2007 and I want to update an Outlook Address book from my Access Database. I started out by importing the Outlook Address Book as a linked table and it linked fine. I then...
7
Niheel
by: Niheel | last post by:
Apple just threw a massive blow to the world of Windows Mobile or any Mobile Hardware/OS company with the launch of iPhone2.0 and the developer SDK. Apple and Jobs have done what Gates did to the...
0
by: Phil Stanton | last post by:
When trying to email a report I get the following error message "an error occurred while attempting to open the windows address book MAPI 1.0 Can anyone suggest a solution. This has been no...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.