473,569 Members | 2,729 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Connect to Exchange with VB.NET

Hello,

i am writting an programm which should connect to an exchange server
and get calendar entries.
i have tried it with ADODB, but there was a problem: sometimes it
works, sometimes not.

can somebody help me?

thanks
chris
Nov 20 '05 #1
3 24655
Cor
Hi Christoph,

The last time Jay B does this as a team,

I provide links I got from him, and then after a while he add's the more
special things.
I hope for you he does that now too, but you can start reading.

The four CDOs are (in chronological order):

- CDO.DLL : CDO version 1.2.1
- CDONTS.DLL : CDO version 1.2.1 for Windows NT Server (not the same as CDO
version 1.2.1!)
- CDOSYS.DLL : CDO for Windows 2000
- CDOEX.DLL : CDO for Exchange 2000 Server

http://www.microeye.com/resources/res_outlookvsnet.htm

http://msdn.microsoft.com/library/de...classtopic.asp

http://msdn.microsoft.com/library/de...figuration.asp

http://msdn.microsoft.com/library/de...vr_cdo_top.asp
I hope this helps a little bit?
:-)
Cor
i am writting an programm which should connect to an exchange server
and get calendar entries.
i have tried it with ADODB, but there was a problem: sometimes it
works, sometimes not.

can somebody help me?

thanks
chris

Nov 20 '05 #2
Chris,
In addition to Cor's links, I would add:

http://msdn.microsoft.com/library/de...technology.asp

It identifies the majority of the technologies available to Exchange Server.
Here are a handful of samples that may (or may not) help:

http://msdn.microsoft.com/library/de...lders_http.asp

http://msdn.microsoft.com/library/de...age_webdav.asp

http://msdn.microsoft.com/library/de...ize_webdav.asp

http://msdn.microsoft.com/library/de...tify_intro.asp
Hope this helps
Jay

"Christoph M?der" <ch************ *@gmx.ch> wrote in message
news:b3******** *************** ***@posting.goo gle.com...
Hello,

i am writting an programm which should connect to an exchange server
and get calendar entries.
i have tried it with ADODB, but there was a problem: sometimes it
works, sometimes not.

can somebody help me?

thanks
chris

Nov 20 '05 #3
thanks a lot!

i will read the given sites and i hope i will find a solution.

chris
"Jay B. Harlow [MVP - Outlook]" <Ja************ @msn.com> wrote in message news:<Oe******* *******@TK2MSFT NGP12.phx.gbl>. ..
Chris,
In addition to Cor's links, I would add:

http://msdn.microsoft.com/library/de...technology.asp

It identifies the majority of the technologies available to Exchange Server.
Here are a handful of samples that may (or may not) help:

http://msdn.microsoft.com/library/de...lders_http.asp

http://msdn.microsoft.com/library/de...age_webdav.asp

http://msdn.microsoft.com/library/de...ize_webdav.asp

http://msdn.microsoft.com/library/de...tify_intro.asp
Hope this helps
Jay

"Christoph M?der" <ch************ *@gmx.ch> wrote in message
news:b3******** *************** ***@posting.goo gle.com...
Hello,

i am writting an programm which should connect to an exchange server
and get calendar entries.
i have tried it with ADODB, but there was a problem: sometimes it
works, sometimes not.

can somebody help me?

thanks
chris

Nov 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
1956
by: Tom Dacon | last post by:
I have a little desktop application (it happens to be a Windows Forms analog clock) that's written in VB.Net (2003). I placed a shortcut in my Startup program group to start it up when I log on. I have put no code in the application whatsoever to do internet communications, and yet when it starts up at logon I've begun getting notification...
0
1506
by: Zach Funt | last post by:
I'm new to C#, and I was wondering if there was an API to connect to an Exchange Server 2003? There are really two different programs that I would like to do this in. The first, I want to connect to a public "task" folder and display and sort them. My second program will, again, connect to a public folder. However, this will combine...
1
1355
by: Sospeter | last post by:
Hi, I want to connect to a mail store from an ASP.NET application. Once I connect to the mail store I want to be able to retrieve a message from a particular user. The problem I have is I don't know how to connect to exchange. Thought it would be as easy as connecting to a sqlserver but that doesn't seem to be the case. Any ideas please. ...
3
7574
by: hkappleorange | last post by:
I connect to mdb file using the following codes. How should I modify it if I want to connect to Excel instead ? <%@ Import Namespace="System.Data.OleDb" %> <% Dim conAuthors As OleDbConnection Dim cmdSelectAuthors As OleDbCommand Dim dtrAuthors As OleDbDataReader
2
1534
by: Mike | last post by:
I need to create a front end for the users to enter in some data, but the data needs to go to a folder on the exchange server. How can I add, view, and modify items in outlook (exchange) folders. I would be using outlook as the database.
1
4215
by: Jim H | last post by:
I want to write an outlook plug-in or even a separate app if necessary to connect to an exchange server to get mail off of it. My outlook is currently connected to Exchange server A, I need to get mail from Exchange server B and put it on Exchange server A. I'm tired of using multiple Outlook profiles. How do I connect to an exchange server...
1
4380
by: vibhavleo | last post by:
I am using the Microsoft Office 11.0 Object library to connect to outlook. My code is as follows: _ApplicationPtr application("Outlook.Application"); CComPtr<_NameSpace> ns; CComPtr<_NameSpace> session; hr = application->GetNamespace(CComBSTR("MAPI"),&session.p); if(hr != S_OK) return hr; hr = application->get_Session(&session.p);...
2
4265
by: =?Utf-8?B?RGF2aWRF?= | last post by:
Hi, I try to connect to Exchange server using MAPI. I need to access a special user inbox and read all his new mails. The code I wrote work good, but I get my inbox instead of the user I need. Here the code : MAPI.Session objSession; MAPI.Folder objFolder ;
1
3941
by: chelluchittibabu | last post by:
hi, pls tell me if you know regarding ms exchange server 2007. In my system i am using windows 2003. what i want is 1. how to connect ms exchange server 2007 from .net 2. how to get data from from exchange server 2007 3. what dll's are required to work with ms exchange server 2007 using .net(C#) thanks and regarding, chittibabu c
0
7695
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7922
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5218
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...

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.