I have a vb6 to get the freebusy state of an user. My problem is the
following:
I edit an appointment with a different end date. When I get the freebusy
state a slot appears free but it must be busy.
What can be the reason?
I'be very grateful if anyone could help me.
"Jose Enrique" <eaguado@jusan.es> wrote in news:eMf56Y7tGHA.5084
@TK2MSFTNGP04.phx.gbl:
> I have a vb6 to get the freebusy state of an user. My problem is the
> following:
> I edit an appointment with a different end date. When I get the freebusy
> state a slot appears free but it must be busy.
You may have to force an update of the freebusy data after changing the
appointment:
(I'm not sure if this will need changing for Spanish, sorry)
> > Const PR_RECALCULATE_FREEBUSY = &H10F2000B
> > Const PR_FREEBUSY_DATA = &H686C0102
[quoted text clipped - 9 lines]
> >
> > 'Loop through messages looking for message with LocalFreebusy as
subject
> > For Each objMessage In objMessageList
> > ' Update message
[quoted text clipped - 7 lines]
> >
> > Next
-- dan
Jose Enrique - 07 Aug 2006 07:46 GMT
But this code is valid if I create the appointment with VB, isn't it?
What happened if the user creates or modifies the appointment with Outlook?
> "Jose Enrique" <eaguado@jusan.es> wrote in news:eMf56Y7tGHA.5084
> @TK2MSFTNGP04.phx.gbl:
[quoted text clipped - 36 lines]
>
> -- dan
Dan Mitchell - 08 Aug 2006 17:10 GMT
> But this code is valid if I create the appointment with VB, isn't it?
>
> What happened if the user creates or modifies the appointment with
> Outlook?
Then Outlook should take care of updating the freebusy info. It may not
happen instantly, though -- Tools | Options | Calendar options | Free/busy
options | Update free/busy ever [X] minutes controls that setting.
If you need to know if an appointment has been created faster than that,
then a solution using freebusy won't work. Don't forget, though, other
people using Outlook won't know if the appointment has been created
either, so whatever problem this causes for your app has is also a problem
for users trying to schedule appointments..
-- dan
it seems all work well. I want to thanks you for helping me.
I'M VERY GRATEFUL FOR YOUR HELP.