C#, Sharepoint – Send appointment without using Outlook Object

Two months ago I wrote a small blog about my new project on creating a  SharePoint Webpart for sending appointment. Today a reader asks me how I solve my task at sending appointment without using Outlook Object so I decide to publish my code for sharing with who needs it. In this project I should create a Webpart to send Outlook appointment without using the available Outlook Object. The using of Outlook Object will require that man must install Microsoft Outlook in server and this installation is not worth for supporting only a small Webpart. Therefore in my code I only use classes provided by .Net Framework and do not use any Outlook Object.

Continue reading C#, Sharepoint – Send appointment without using Outlook Object

SharePoint, WebPart and Visual Studio = Chaos

I received a new project one week ago.  In this project I should use Visual Studio to create a WebPart Calendar which will be used in SharePoint website. When my chef plans a month for me, I knew that this project must be very complicated. And now I am sure that I am right. :(. If someone uses Outlook Calendar to create an appointment, he may be know how Outlook manages the appointments.  He permits a user to create an appointment and invite the others to participate in. The receiver can decide to participate or not and sends an answer back to the invitor. And with the help of Outlook the invitor knows who will come to his appointment. This function is really comfortable. However this function is still not available in SharePoint calendar. In Sharepoint there is also a calendar which can be synchronized with Outlook. But it doesn’t support to send an invitation directly through website. Therefore I must write a web part to send appointment and manage it.

Last week I can manage to send out an appointment with Outlook format to attendees. But what difficult is that I can not access to the answer of attendees to my invitation. Today after 8 hours working hard I still do not find out why the answer do not come to my incoming email in my virtual server. Tomorrow must be a long day for me. Maybe I must install Visual Studio on the real server and work with it because the real server can “see” the answers of my invitation. It is reget that I still do not know why my virtual system does not work. But I do not have so much time. The dead line comes at the end of month and there is still a lot of things to do. Sometimes man must accept an “resolvable” error as “unresolvable” errors.