![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hi I am trying to get FreeBusy for a resource, is this possible?
I tried to use: private void SetRecipientTypeForAppt() { Outlook.Application oApp = new Microsoft.Office.Interop.Outlook.Application(); Outlook.AppointmentItem appt = oApp.CreateItem(Outlook.OlItemType.olAppointmentIt em) as Outlook.AppointmentItem; appt.Subject = "Customer Review"; appt.MeetingStatus = Outlook.OlMeetingStatus.olMeeting; appt.Location = "; appt.Start = DateTime.Parse("5/23/2009 10:00 AM"); appt.End = DateTime.Parse("5/23/2009 11:00 AM"); Outlook.Recipient recipRequired = appt.Recipients.Add("Bob Smith"); recipRequired.Type = (int)Outlook.OlMeetingRecipientType.olRequired; Outlook.Recipient recipOptional = appt.Recipients.Add("Tom Jones"); recipOptional.Type = (int)Outlook.OlMeetingRecipientType.olOptional; Outlook.Recipient recipConf = "); recipConf.Type = (int)Outlook.OlMeetingRecipientType.olResource; appt.Recipients.ResolveAll(); appt.Display(false); MessageBox.Show(recipConf.FreeBusy(DateTime.Now, 15, false)); } |
#2
|
|||
|
|||
![]()
"Marius" wrote in message
... Hi I am trying to get FreeBusy for a resource, is this possible? I tried to use: private void SetRecipientTypeForAppt() Please ask programming questions in microsoft.public.outlook.program_vba -- Brian Tillman [MVP-Outlook] |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
FreeBusy Operation Question | DW | Outlook - Calandaring | 0 | November 17th 08 05:29 PM |
Freebusy for distribution list very slow | Klemens | Add-ins for Outlook | 0 | August 27th 07 11:39 PM |
SafeDistList member has no FreeBusy | Klemens | Add-ins for Outlook | 7 | July 16th 07 09:11 PM |
Help with FREEBUSY | callmedoug | Outlook and VBA | 4 | December 4th 06 07:06 PM |
OL2K3 Why cant I see Conference Room resource information avlbty? | OLuserdudeguy | Outlook - Calandaring | 3 | September 7th 06 05:12 PM |