Accessing calendar items for Resource Mailboxes

Status
Not open for further replies.

Justin

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Office 365 Exchange
Has anyone tried and succeeded in accessing via VB.Net and Outlook Programming to programmatically check the contents of a resources calendar, for checking what events have been made by users.

So example is that a school is using a room resource in Exchange or O365, to reserve a room for meetings or events. Outlook handles this nicely, and confirms rejects bookings based on if the room is free.

However a VB.net app needs to display the availability of the resource to users without them manually checking the calendar themselves.

Is this possible? I have tried to use the following code (it works for real mailboxes, but not for resource ones it seems):
objDummy = objApp.CreateItem(Outlook.OlItemType.olMailItem)
objRecip = objDummy.Recipients.Add(strName)
objRecip.Resolve()
objFolder = objNS.GetSharedDefaultFolder(objRecip, Outlook.OlDefaultFolders.olFolderCalendar)

Any ideas or thoughts, would be much appreciated.
Justin
 

Justin

New Member
Outlook version
Outlook 2013 32 bit
Email Account
Office 365 Exchange
Diane,

Thanks for the response. Appears that the issue was down to Exchange security issues. I had to add the outlook profile to the admin permissions and then wait for 24hrs for the system to synchronise.

Now it has been set correctly. I am able to use the normal resolve methods as if I am reading a colleagues mailbox. Had me stumped as the error message wasn't very helpful.

Thanks
 
Status
Not open for further replies.
Thread starter Similar threads Forum Replies Date
S Programmatically accessing Outlook Calendar data Using Outlook 1
N Shared Calendar in Public folder hangs when accessing from Outlook 2010 Exchange Server Administration 2
H accessing shared calendar in outlook 2007 Using Outlook 3
T Outlook closes unexpectedly upon accessing another user's calendar Using Outlook 1
A Accessing shared calendar that is NOT DEFAULT calendar. Using Outlook 6
RBLampert Accessing Outlook accounts from multiple computers Using Outlook 8
E Accessing shared outlook folder doesn't work since switch to new outlook/excel Outlook VBA and Custom Forms 11
S Outlook [Online - Office365] perfomance is getting affected when accessing the mails using Redemptio Using Outlook 1
J Accessing Hotmail accounts with Outlook 2016 Using Outlook 3
n2b Accessing Plain Text Draft Without Outlook Using Outlook 3
G Issues with accessing Outlook Contact Picture with VBA Outlook VBA and Custom Forms 4
M Accessing ExpiryTime property Outlook VBA and Custom Forms 1
M Accessing BCM with Excel / Running Reports BCM (Business Contact Manager) 1
C Problem accessing events for folder "username" Server Threw Exception Calendar Printing Assistant 1
P accessing custom task pane with Outlook ActiveInspector Using Outlook 1
mikecox Accessing Outlook on my Win7 desktop from Win8 laptop Using Outlook 1
A "Unable to display the folder" error when accessing Group mailbox Using Outlook 0
Commodore Accessing mail from multiple devices Using Outlook 1
E Accessing User Defined Fields in BCM Database part 2 BCM (Business Contact Manager) 0
E [SOLVED] Accessing User Defined Fields in BCM Database part 1 BCM (Business Contact Manager) 9
K trying to sync my samsung galaxy to my outlook 2010 calender. it says execution privilege prevents me from accessing outlook Using Outlook 1
P time delay between accessing Outlook file folders, up 20+ second delay Using Outlook 1
S Accessing source information Using Outlook 1
J After Window update of 12/15/2010, outlook 2007 gives error (0x800CCC18) when accessing gmail using Using Outlook 6
S Outlook 2010 freezes and not responding when accessing, moving or deleting files Using Outlook 2
N Problems accessing network files via OWA Using Outlook 5
M Mails get deleted accessing a user mailbox with a different user Using Outlook 2
X Accessing a shared email folder - How? Exchange Server Administration 1
H Accessing a backup Using Outlook 3
J Problems accessing console of Exchange 2010 on Windows Server 2008 R2 Please help me Exchange Server Administration 4
S Accessing emails in a closed account Using Outlook 1
E Users get login prompt in Outlook 2007 when accessing Exchange Server 2007 Using Outlook 2
A BCM-Problem Accessing Database Using Outlook 1
K Outlook 2010 now freezes while accessing Gmail Using Outlook 3
S Accessing items in incoming emails. Using Outlook 1
N Outlook 7 crashing when accessing Tasks Using Outlook 2
D 403 Error in IIS when accessing a non-SSL page Using Outlook 2
R accessing owa externally and having a cas array internally Exchange Server Administration 9
L Not receiving all incoming mail when 2 computers are accessing 1 email address Using Outlook 1
O Accessing OST file which was created through Windows Outlook Connector Using Outlook 2
J Restriction on accessing hyperlinks contained in email. Using Outlook 2
C Accessing web addresses included in emails Using Outlook 1
J Accessing email from remote device. Using Outlook 2
S Accessing Calender information post migration from Exchange 2003 to Exchange 2020 using Outlook2003 client. Exchange Server Administration 4
L reported error (0x80004005) : 'There is an error synchonizing your mail account. Please verify your account is configured correctly by first accessing Using Outlook 2
T Accessing Exchange Server 2010 using Mac Mail 4.3 Using Outlook 3
R Accessing folder 'Other Contacts' Outlook VBA and Custom Forms 1
E Accessing a Form Region from an Inspector Outlook VBA and Custom Forms 3
E Accessing a Form Region from an Inspector Outlook VBA and Custom Forms 3
V Error 4202 when accessing hotmail account in Outlook 2010 Using Outlook 52
Similar threads


















































Top