glassstill.blogg.se

How to add a calendar in outlook 2007
How to add a calendar in outlook 2007













how to add a calendar in outlook 2007

UPDATE YEARLY RECURRENCE TYPE - BECAUSE THE NUMBER 4 DOES NOT EXIST ACCORDING TO MICROSOFT ( -_-) String Attendees = Recepients.Split(' ') Var AppointmentFolder = OlNamspace.GetDefaultFolder(olFolderCalendar) Ī = true Var OlNamspace = objOutlook.GetNamespace("MAPI") Var objMail = objOutlook.CreateItem(olMailItem) Var objAppointment = objOutlook.CreateItem(olAppointmentItem) String Recepients, bool isAllDayEvent, bool hasReminder, string ReminderType, int ReminderMinutes, bool isRecurring, int RecurrenceType, string RecurrenceDesc, DateTime RecurrenceStart, DateTime RecurrenceEnd,ĭateTime CreatedDate, DateTime ModifiedDate) Public static string CreateAppointmentOutlookDirect(char StatusType, int ID, string EventID, string EventIDRef, string Subject, string Description, string Location, DateTime EventStart, DateTime EventEnd, string TimeZone, int Duration, Public static dynamic appointmentObject = objOutlook.CreateItem(appointmentItem) Public static dynamic mailObject = objOutlook.CreateItem(mailItem) Public static dynamic inboxFolder = mapiNamespace.GetDefaultFolder(inboxItem) Public static dynamic mapiNamespace = objOutlook.GetNamespace("MAPI")

how to add a calendar in outlook 2007 how to add a calendar in outlook 2007

Public static dynamic objOutlook = Activator.CreateInstance(Type.GetTypeFromProgID("Outlook.Application")) It should work off the bat, but I could have missed something, typing this really fast ////BEGIN OUTLOOK DECLARATIONS If you're interested, let me know, I can explain more. It also uses almost every calendar event function possible (recurrence by various types, attendees, responses etc.). This is probably a bit of an overkill but, here is a method that handles Adding, Updating, Deleting events.















How to add a calendar in outlook 2007