Opret appointments i Outlook
Hejsa.Med "Microsoft Oulook 11.0 Object Library" kan man oprette appointments i sin kalender med noget lignende dette:
ApplicationClass outLookApp = new Outlook.ApplicationClass();
AppointmentItem appItem = (AppointmentItem)outLookApp.CreateItem(OlItemType.olAppointmentItem);
appItem.Start = DateTime.Now;
appItem.End = appItem.Start.AddHours(0.5);
appItem.Subject = "Testmøde";
appItem.Location = "Testlokation";
appItem.Body = "";
appItem.BusyStatus = OlBusyStatus.olBusy;
appItem.ReminderMinutesBeforeStart = 10;
appItem.Save();
Men hvordan opretter man appointment i en anden brugers kalender i stedet for sin egen? (Har selvfølgelig skriverettigheder..)
På forhånd tak :)
Mvh. Andreas
