Sample: Howto display a list of calendar items in ListView using EWS

Here is a helpful sample of using EWS to get a list of calendar items and displaying them in a ListView.    You should be able to use this with he sample I published prior on creating a CalendarView:   Sample: Using Calendar Views with EWS. http://blogs.msdn.com/webdav_101/archive/2009/01/05/sample-using-calendar-views-with-ews.aspx   The sample below calls GetFileAttachmentsCount, which I…

10

Howto: Add a body part to a message using CDOSYS.

The sample below shows how to add an additional body part to a message using cdosys.  This example demonstrates adding a “text/calendar” (vcalendar) body part, however it should be possible to use this to add “text/plain”, “text/html” and other types.  In the sample, “this.VCalendarText” holds the text to be written to the body part (in…

0

Howto: Add a body part using System.Net.Mail

The sample below shows how to add an additional body part to a message using System.Net.Mail.  This example demonstrates adding a “text/calendar” (vcalendar) body part, however it should be possible to use this to add “text/plain”, “text/html” and other types.  In the sample, “this.VCalendarText” holds the text to be written to the body part (in…

0

HOWTO: VB/CDO 1.21 – Cancel a Recurring Meeting using a single Recurrance

‘ This code finds an meeting occurance and uses it to cancel the entire meeting series and’ have “Cancelled:” in front of the subject lines on the update messages sent to the recipient(s).’ To use:’  Create a recurring meeting inside the date/time range below with the subject “testabc”.’  Invite an attendee.’  Change the time of…

2

Whats not supported with WebDAV?

Ahhh thats a big one… What is supported:  • Non-recurring appointments   • Contacts in Microsoft Outlook that you create or modify    • Folders that you create in Outlook and in Exchange 2000 Server or Exchange Server 2003   • E-mail messages that you create or modify “All other tasks that use the WebDAV…

3

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft’s Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form for developers to review and provide feedback.  You can read more about the announcement…

0

Exchange Protocol Documentation

Microsoft released preliminary protocol documentation for Exchange 2007 (as well as Microsoft Office 2007 and SharePoint Server) as part of Microsoft’s Interoperability Principles. The Exchange protocols are now publicly available on the Open Protocol Specifications section of MSDN in preliminary form for developers to review and provide feedback.  You can read more about the announcement…

0

How do I cancel an appointment with WebDAV?

Unfortunately, there is no facility to cancel a meeting via WebDAV.  You may be able to delete an appointment directly from a calendar if there are no attendees. A meeting is pretty much an appointment with attendees.   If you have an appointment with attendees (i.e. it’s a meeting), you cannot just delete it and expect…

1

CDO 1.21 and Unicode Text (Japanese, Chinese, Korean, etc)

CDO 1.21 and Unicode Text (Japanese, Chinese, Korean, etc)   Having issues using CDO 1.21 with multi-byte (unicode) languages such as Japanese, Korean, Chinese? Do you want a way to create an appointment item with Japanese text using CDO 1.21?  This is not as straight-forward as it should be, here is info to help.  You will probably…

0

HOWTO CDOEX C#: How to extract VCalendar stream from an appointment.

‘ TODO:’    Create a C# Winform app’    Reference to Microsoft CDO for Exchange 2000 Server Library (COM) – this ‘      will add a reference to ADO automaticlly.’    NOTE: Do not add a reference to ADO or ADO.NET – this will cause interferance ‘      with CDOEX/CDOSYS (which you may not see until processing body parts).’    NOTE:…

1