views:

1305

answers:

3

hi , Is there any way to create - manipulate calendar events in Exchange Server 2003 ? I'm using Vb .NET 2005. I don't want to use MAPI because everytime I will have to type user name and passwords. Is there any other way ? I used redemption.dll but everytime I want to add for eg a calendar event it displays the login screen.

Any suggestions ?

Appreciate your help

Thank you

+1  A: 

Check out WebDAV. Appearantly, there are some limitation in WebDAV with regards to recurring appointments, but the interface is simple and effective.

Check the MSDN Library.

Tor Haugen
+1  A: 

I have worked on a project to manipulate appointments (when I first started programming), and from VB, the easiest route to Exchange appointments at that time (avoiding MAPI) was using the Office Core & Outlook interop APIs named Interop.Microsoft.Office.Core.dll & Interop.Outlook.dll. As this was for an application on a desktop machine you needed to have Outlook installed on the same box, but this may have changed since (was around 4-5 years ago).

Alternatively with the the CDO libraries (which wrap the MAPI APIs), I don't think you need Outlook installed and these are relatively easy (and much faster) to use. May have been superceeded by now however.

Just on a side note, an application called OutlookSpy proved invaluable at the time for inspecting exchange runtime objects.

The Giraffe
A: 

Hi and thank you all for your answers. I'm having Exchange 2003 and I think (from the articles I have read) that WebDav is functional with Exchange 2007. Webservices etc. Also the problem with the Interop.Outlook etc is that I'm having different profiles in my Exchange. So I want to loop through my profiles and create the calendar event. I will provide them programmatically (user names , passwords etc). I tried redemption.dll but I'm getting the login screen although I have login with the proper credentials and having the boolean (showdialog) to false. Is there any other way to programmatically login to exchange and do the job without having the user name and pswd screen populated ? And of course after you login create apointments etc... I will try CDO.

Thank you

You should select an answer - and possibly vote for it too. And you should also be able to add your comments to the question.
Jonathan Leffler