Connecting Tech Pros Worldwide Help | Site Map

Writing contacts to an exchange public folder...

Kim Nørby Andersen
Guest
 
Posts: n/a
#1: Nov 15 '05
I'm in a situation, where i'm supposed to develop a windows service,
connecting to an external source, and insert new contact persons to an
Exchange public folder. Everything is going well, until I actually had to
access the Exchange folder.

First I tried interop'ing with Outlook, managing to create a contact in my
default contact folder, and then moving it to the specified public folder
(workaround). That puts up some problems considering it being a service, and
some dialog boxes appeared demanding attention, though a username/pass was
produced.

Secondly I tried using ADO.NET and ExOleDB, but couldn't figure out how on
earth to connect to the server.

Anyone who has tried doing this, who has some hints, and preferably some few
lines of essential code in any .NET language?

Thanks in advance

Kim


William
Guest
 
Posts: n/a
#2: Nov 15 '05

re: Writing contacts to an exchange public folder...


On Mon, 15 Dec 2003 10:07:09 +0100, "Kim Nørby Andersen"
<kna@removethis.multihouse.dk> typed and posted to
microsoft.public.dotnet.languages.csharp:

Kim you will want to download the Exchange 2000 SDK from Microsoft. There is a
sample .NET application (Issue Tracking) that I believe does what you are
asking. Here is the URL for the SDK: http://tinyurl.com/zau6

Will
[color=blue]
>I'm in a situation, where i'm supposed to develop a windows service,
>connecting to an external source, and insert new contact persons to an
>Exchange public folder. Everything is going well, until I actually had to
>access the Exchange folder.
>
>First I tried interop'ing with Outlook, managing to create a contact in my
>default contact folder, and then moving it to the specified public folder
>(workaround). That puts up some problems considering it being a service, and
>some dialog boxes appeared demanding attention, though a username/pass was
>produced.
>
>Secondly I tried using ADO.NET and ExOleDB, but couldn't figure out how on
>earth to connect to the server.
>
>Anyone who has tried doing this, who has some hints, and preferably some few
>lines of essential code in any .NET language?
>
>Thanks in advance
>
>Kim
>[/color]

Closed Thread