Outlook Calendar AutoAccept and Redemption

R

Rick H

I'm trying to determine if a user has autoaccept set in outlook 2003
and 2007 using VB6 with Redemption 4.4
Here is the code:

Dim CalendarOptions As Object
Dim Session As Object
Set Session = CreateObject("Redemption.RDOSession")
Session.Logon
Set CalendarOptions = Session.Stores.DefaultStore.CalendarOptions
lb_aa = CalendarOptions.AutoAccept

This works fine in Outlook 2002 but in newer version of outlook I get
back the following error at the last line

Run-Time Error '-2147221233(8004010f)':
Error in HrGetOneProp(PR_FREEBUSY_ENRTYIDS):
MAPI_E_NOT_FOUND

Is there a different way of getting the calendar options in 2003 and
2007?
 
D

Dmitry Streblechenko

CalendarOptions property currently only works for the online Exchange stores
(such as returned by RDOSession.GetSharedMailbox).
Send an e-mail to my private address if you want an updated version.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top