Create Outlook calendar event in ASP.NET

SteveoAtilla

Regular
Joined
Dec 22, 2004
Messages
80
Location
The Frozen Tundra
Hello all,

I am working on a web app that will add Calendar events to user's Outlook calendars.

That part works fine. We have login credentials that will have access to the calendars so that the entries can be created. The entries are being created and saved on the correct dates at the correct time for the correct amount of time. The entries are coming in as 'TENTATIVE' which is what we want them to.

I still have two issues, though:

1 - The entries are coming in with a default reminder time of 15 minutes. I know I can change that to some other number of minutes, but I'd rather simply have no reminder at all.
2 - More importantly - The entries are being created so that when they are changed or deleted, notification is going back to the account that is creating them. NOT DESIRED FUNCTIONALITY!!!

Here is the code that is creating the calendar event:

Code:
strCalInfo = "<cal:location>" + Location + "</cal:location>" & _
"<cal:dtstart dt:dt=""dateTime.tz"">" + EventDate + "T13:00:00.000Z</cal:dtstart>" & _
"<cal:dtend dt:dt=""dateTime.tz"">" + EndDate + "T" + EndTime + ":00:00.000Z</cal:dtend>" & _
"<cal:instancetype dt:dt=""int"">0</cal:instancetype>" & _
"<cal:busystatus>TENTATIVE</cal:busystatus>" & _
"<cal:meetingstatus>CONFIRMED</cal:meetingstatus>" & _
"<cal:alldayevent dt:dt=""boolean"">0</cal:alldayevent>" & _
"<cal:responserequested dt:dt=""boolean"">1</cal:responserequested>" & _
"<cal:reminderoffset dt:dt=""int"">900</cal:reminderoffset>"
EventDate and EndDate are properly formatted - "YYYY-MM-DD"
EndTime is zero-filled.

Any help would be GREATLY appreciated!

Kahuna
 
Back
Top