Help!

SafeDistList member has no FreeBusy


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  Python Help  
Author Message
Klemens
External


Since: Jun 21, 2007
Posts: 6



PostPosted: Mon Jul 09, 2007 10:43 pm    Post subject: SafeDistList member has no FreeBusy
Archived from groups: microsoft>public>outlook>program_addins (more info?)

I want to get the FreeBusy info for the members of a private
distribution list in my contact folder. When I do it via Outlook OM
directly the second line below
Set oRecp = oDistList.GetMember(i)
strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
receives an error ("Cannot load free/busy information").
Using Redemption the second line
Set oSafeRecp = oSafeDistList.GetMember(i)
strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
returns w/o error but doesn't return any freebusy info.
Using RDO:
Set oRDORecp = oRDODistListItem.GetMember(i)
strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
works fine (luckily).

Why does the Redemption variant not work? Bug? Feature? Workaround?

- Klemens
Back to top
Dmitry Streblechenko
External


Since: Nov 23, 2003
Posts: 1365



PostPosted: Mon Jul 09, 2007 10:43 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Do you mean why doesn't it raise the error the way Outlook does?

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

"Klemens" <klemid DeleteThis @gmail.com> wrote in message
news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>I want to get the FreeBusy info for the members of a private
> distribution list in my contact folder. When I do it via Outlook OM
> directly the second line below
> Set oRecp = oDistList.GetMember(i)
> strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
> receives an error ("Cannot load free/busy information").
> Using Redemption the second line
> Set oSafeRecp = oSafeDistList.GetMember(i)
> strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
> returns w/o error but doesn't return any freebusy info.
> Using RDO:
> Set oRDORecp = oRDODistListItem.GetMember(i)
> strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
> works fine (luckily).
>
> Why does the Redemption variant not work? Bug? Feature? Workaround?
>
> - Klemens
>
Back to top
Klemens
External


Since: Jun 21, 2007
Posts: 6



PostPosted: Mon Jul 09, 2007 10:58 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello Dmitry,
No, I hoped it would just work with redemption. It works with a
recipient which is created from scratch and the address entry of this
recipient looks pretty much the same as the address entry of the
recipient in the distribution list. So there should be a chance to get
free/busy info for this recipient too.
- Klemens

On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi....TakeThisOut@dimastr.com> wrote:
> Do you mean why doesn't it raise the error the way Outlook does?
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Klemens" <kle....TakeThisOut@gmail.com> wrote in message
>
> news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>
>
>
> >I want to get the FreeBusy info for the members of a private
> > distribution list in my contact folder. When I do it via Outlook OM
> > directly the second line below
> > Set oRecp = oDistList.GetMember(i)
> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
> > receives an error ("Cannot load free/busy information").
> > Using Redemption the second line
> > Set oSafeRecp = oSafeDistList.GetMember(i)
> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
> > returns w/o error but doesn't return any freebusy info.
> > Using RDO:
> > Set oRDORecp = oRDODistListItem.GetMember(i)
> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
> > works fine (luckily).
>
> > Why does the Redemption variant not work? Bug? Feature? Workaround?
>
> > - Klemens- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
Back to top
Dmitry Streblechenko
External


Since: Nov 23, 2003
Posts: 1365



PostPosted: Tue Jul 10, 2007 9:55 am    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well, if Outlook reports "Cannot load free/busy information", there is
probably a reason for that...
What exactly do you mean by "pretty much the ssame"? It is either the same
or it is not...

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

"Klemens" <klemid RemoveThis @gmail.com> wrote in message
news:1184047134.290411.64300@n60g2000hse.googlegroups.com...
> Hello Dmitry,
> No, I hoped it would just work with redemption. It works with a
> recipient which is created from scratch and the address entry of this
> recipient looks pretty much the same as the address entry of the
> recipient in the distribution list. So there should be a chance to get
> free/busy info for this recipient too.
> - Klemens
>
> On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi... RemoveThis @dimastr.com> wrote:
>> Do you mean why doesn't it raise the error the way Outlook does?
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Klemens" <kle... RemoveThis @gmail.com> wrote in message
>>
>> news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>>
>>
>>
>> >I want to get the FreeBusy info for the members of a private
>> > distribution list in my contact folder. When I do it via Outlook OM
>> > directly the second line below
>> > Set oRecp = oDistList.GetMember(i)
>> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
>> > receives an error ("Cannot load free/busy information").
>> > Using Redemption the second line
>> > Set oSafeRecp = oSafeDistList.GetMember(i)
>> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
>> > returns w/o error but doesn't return any freebusy info.
>> > Using RDO:
>> > Set oRDORecp = oRDODistListItem.GetMember(i)
>> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
>> > works fine (luckily).
>>
>> > Why does the Redemption variant not work? Bug? Feature? Workaround?
>>
>> > - Klemens- Zitierten Text ausblenden -
>>
>> - Zitierten Text anzeigen -
>
>
Back to top
Klemens
External


Since: Jun 21, 2007
Posts: 6



PostPosted: Tue Jul 10, 2007 6:57 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Pretty much" means that the recipients I receive from the GetMember
are not equivalent structural-wise so I only can try guessing. What I
see is that the RDORecipient and the SafeRecipient refer to the same
entry ID and both refer to an "EX" address whereas the native Outlook
recipient refers to a different Entry ID and to an address type
"SMTP". This makes me think that there would be a chance for the
SafeRecipient to support the FreeBusy when the RDORecipient does.
Regards,
Klemens

On 10 Jul., 18:55, "Dmitry Streblechenko" <dmi... DeleteThis @dimastr.com> wrote:
> Well, if Outlook reports "Cannot load free/busy information", there is
> probably a reason for that...
> What exactly do you mean by "pretty much the ssame"? It is either the same
> or it is not...
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Klemens" <kle... DeleteThis @gmail.com> wrote in message
>
> news:1184047134.290411.64300@n60g2000hse.googlegroups.com...
>
>
>
> > Hello Dmitry,
> > No, I hoped it would just work with redemption. It works with a
> > recipient which is created from scratch and the address entry of this
> > recipient looks pretty much the same as the address entry of the
> > recipient in the distribution list. So there should be a chance to get
> > free/busy info for this recipient too.
> > - Klemens
>
> > On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi... DeleteThis @dimastr.com> wrote:
> >> Do you mean why doesn't it raise the error the way Outlook does?
>
> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
>
> >> "Klemens" <kle... DeleteThis @gmail.com> wrote in message
>
> >>news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>
> >> >I want to get the FreeBusy info for the members of a private
> >> > distribution list in my contact folder. When I do it via Outlook OM
> >> > directly the second line below
> >> > Set oRecp = oDistList.GetMember(i)
> >> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
> >> > receives an error ("Cannot load free/busy information").
> >> > Using Redemption the second line
> >> > Set oSafeRecp = oSafeDistList.GetMember(i)
> >> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
> >> > returns w/o error but doesn't return any freebusy info.
> >> > Using RDO:
> >> > Set oRDORecp = oRDODistListItem.GetMember(i)
> >> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
> >> > works fine (luckily).
>
> >> > Why does the Redemption variant not work? Bug? Feature? Workaround?
>
> >> > - Klemens- Zitierten Text ausblenden -
>
> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
Back to top
Dmitry Streblechenko
External


Since: Nov 23, 2003
Posts: 1365



PostPosted: Tue Jul 10, 2007 6:57 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

So Outlook returns an SMTP address for that DL member, but Redemption
returns EX (which is correct, right)?
Do you see the f/b for that user from the Outlook UI?

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

"Klemens" <klemid.DeleteThis@gmail.com> wrote in message
news:1184093864.662106.90980@k79g2000hse.googlegroups.com...
> "Pretty much" means that the recipients I receive from the GetMember
> are not equivalent structural-wise so I only can try guessing. What I
> see is that the RDORecipient and the SafeRecipient refer to the same
> entry ID and both refer to an "EX" address whereas the native Outlook
> recipient refers to a different Entry ID and to an address type
> "SMTP". This makes me think that there would be a chance for the
> SafeRecipient to support the FreeBusy when the RDORecipient does.
> Regards,
> Klemens
>
> On 10 Jul., 18:55, "Dmitry Streblechenko" <dmi....DeleteThis@dimastr.com> wrote:
>> Well, if Outlook reports "Cannot load free/busy information", there is
>> probably a reason for that...
>> What exactly do you mean by "pretty much the ssame"? It is either the
>> same
>> or it is not...
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Klemens" <kle....DeleteThis@gmail.com> wrote in message
>>
>> news:1184047134.290411.64300@n60g2000hse.googlegroups.com...
>>
>>
>>
>> > Hello Dmitry,
>> > No, I hoped it would just work with redemption. It works with a
>> > recipient which is created from scratch and the address entry of this
>> > recipient looks pretty much the same as the address entry of the
>> > recipient in the distribution list. So there should be a chance to get
>> > free/busy info for this recipient too.
>> > - Klemens
>>
>> > On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi....DeleteThis@dimastr.com> wrote:
>> >> Do you mean why doesn't it raise the error the way Outlook does?
>>
>> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>>
>> >> "Klemens" <kle....DeleteThis@gmail.com> wrote in message
>>
>> >>news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>>
>> >> >I want to get the FreeBusy info for the members of a private
>> >> > distribution list in my contact folder. When I do it via Outlook OM
>> >> > directly the second line below
>> >> > Set oRecp = oDistList.GetMember(i)
>> >> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
>> >> > receives an error ("Cannot load free/busy information").
>> >> > Using Redemption the second line
>> >> > Set oSafeRecp = oSafeDistList.GetMember(i)
>> >> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
>> >> > returns w/o error but doesn't return any freebusy info.
>> >> > Using RDO:
>> >> > Set oRDORecp = oRDODistListItem.GetMember(i)
>> >> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
>> >> > works fine (luckily).
>>
>> >> > Why does the Redemption variant not work? Bug? Feature? Workaround?
>>
>> >> > - Klemens- Zitierten Text ausblenden -
>>
>> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>>
>> - Zitierten Text anzeigen -
>
>
Back to top
Klemens
External


Since: Jun 21, 2007
Posts: 6



PostPosted: Mon Jul 16, 2007 12:42 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

1. Yes, right
2. Yes, I see f/b in the UI.

Thanks
Klemens

On 10 Jul., 22:46, "Dmitry Streblechenko" <dmi... DeleteThis @dimastr.com> wrote:
> So Outlook returns an SMTP address for thatDLmember, but Redemption
> returns EX (which is correct, right)?
> Do you see the f/b for that user from the Outlook UI?
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "Klemens" <kle... DeleteThis @gmail.com> wrote in message
>
> news:1184093864.662106.90980@k79g2000hse.googlegroups.com...
>
>
>
> > "Pretty much" means that the recipients I receive from the GetMember
> > are not equivalent structural-wise so I only can try guessing. What I
> > see is that the RDORecipient and the SafeRecipient refer to the same
> > entry ID and both refer to an "EX" address whereas the native Outlook
> > recipient refers to a different Entry ID and to an address type
> > "SMTP". This makes me think that there would be a chance for the
> > SafeRecipient to support the FreeBusy when the RDORecipient does.
> > Regards,
> > Klemens
>
> > On 10 Jul., 18:55, "Dmitry Streblechenko" <dmi... DeleteThis @dimastr.com> wrote:
> >> Well, if Outlook reports "Cannot load free/busy information", there is
> >> probably a reason for that...
> >> What exactly do you mean by "pretty much the ssame"? It is either the
> >> same
> >> or it is not...
>
> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> >> OutlookSpy - Outlook, CDO
> >> and MAPI Developer Tool
>
> >> "Klemens" <kle... DeleteThis @gmail.com> wrote in message
>
> >>news:1184047134.290411.64300@n60g2000hse.googlegroups.com...
>
> >> > Hello Dmitry,
> >> > No, I hoped it would just work with redemption. It works with a
> >> > recipient which is created from scratch and the address entry of this
> >> > recipient looks pretty much the same as the address entry of the
> >> > recipient in the distribution list. So there should be a chance to get
> >> > free/busy info for this recipient too.
> >> > - Klemens
>
> >> > On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi... DeleteThis @dimastr.com> wrote:
> >> >> Do you mean why doesn't it raise the error the way Outlook does?
>
> >> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> >> >> OutlookSpy - Outlook, CDO
> >> >> and MAPI Developer Tool
>
> >> >> "Klemens" <kle... DeleteThis @gmail.com> wrote in message
>
> >> >>news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>
> >> >> >I want to get the FreeBusy info for the members of a private
> >> >> > distribution list in my contact folder. When I do it via Outlook OM
> >> >> > directly the second line below
> >> >> > Set oRecp = oDistList.GetMember(i)
> >> >> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
> >> >> > receives an error ("Cannot load free/busy information").
> >> >> > Using Redemption the second line
> >> >> > Set oSafeRecp = oSafeDistList.GetMember(i)
> >> >> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
> >> >> > returns w/o error but doesn't return any freebusy info.
> >> >> > Using RDO:
> >> >> > Set oRDORecp = oRDODistListItem.GetMember(i)
> >> >> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
> >> >> > works fine (luckily).
>
> >> >> > Why does the Redemption variant not work? Bug? Feature? Workaround?
>
> >> >> > - Klemens- Zitierten Text ausblenden -
>
> >> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
Back to top
Dmitry Streblechenko
External


Since: Nov 23, 2003
Posts: 1365



PostPosted: Mon Jul 16, 2007 1:11 pm    Post subject: Re: SafeDistList member has no FreeBusy [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Send an e-mail to my private address and I will send you a version of thee
dll that creates a log file.

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

"Klemens" <klemid RemoveThis @gmail.com> wrote in message
news:1184614960.191667.243880@n60g2000hse.googlegroups.com...
> 1. Yes, right
> 2. Yes, I see f/b in the UI.
>
> Thanks
> Klemens
>
> On 10 Jul., 22:46, "Dmitry Streblechenko" <dmi... RemoveThis @dimastr.com> wrote:
>> So Outlook returns an SMTP address for thatDLmember, but Redemption
>> returns EX (which is correct, right)?
>> Do you see the f/b for that user from the Outlook UI?
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Klemens" <kle... RemoveThis @gmail.com> wrote in message
>>
>> news:1184093864.662106.90980@k79g2000hse.googlegroups.com...
>>
>>
>>
>> > "Pretty much" means that the recipients I receive from the GetMember
>> > are not equivalent structural-wise so I only can try guessing. What I
>> > see is that the RDORecipient and the SafeRecipient refer to the same
>> > entry ID and both refer to an "EX" address whereas the native Outlook
>> > recipient refers to a different Entry ID and to an address type
>> > "SMTP". This makes me think that there would be a chance for the
>> > SafeRecipient to support the FreeBusy when the RDORecipient does.
>> > Regards,
>> > Klemens
>>
>> > On 10 Jul., 18:55, "Dmitry Streblechenko" <dmi... RemoveThis @dimastr.com> wrote:
>> >> Well, if Outlook reports "Cannot load free/busy information", there is
>> >> probably a reason for that...
>> >> What exactly do you mean by "pretty much the ssame"? It is either the
>> >> same
>> >> or it is not...
>>
>> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> >> OutlookSpy - Outlook, CDO
>> >> and MAPI Developer Tool
>>
>> >> "Klemens" <kle... RemoveThis @gmail.com> wrote in message
>>
>> >>news:1184047134.290411.64300@n60g2000hse.googlegroups.com...
>>
>> >> > Hello Dmitry,
>> >> > No, I hoped it would just work with redemption. It works with a
>> >> > recipient which is created from scratch and the address entry of
>> >> > this
>> >> > recipient looks pretty much the same as the address entry of the
>> >> > recipient in the distribution list. So there should be a chance to
>> >> > get
>> >> > free/busy info for this recipient too.
>> >> > - Klemens
>>
>> >> > On 10 Jul., 01:06, "Dmitry Streblechenko" <dmi... RemoveThis @dimastr.com>
>> >> > wrote:
>> >> >> Do you mean why doesn't it raise the error the way Outlook does?
>>
>> >> >> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> >> >> OutlookSpy - Outlook, CDO
>> >> >> and MAPI Developer Tool
>>
>> >> >> "Klemens" <kle... RemoveThis @gmail.com> wrote in message
>>
>> >> >>news:1184021019.247850.39740@g4g2000hsf.googlegroups.com...
>>
>> >> >> >I want to get the FreeBusy info for the members of a private
>> >> >> > distribution list in my contact folder. When I do it via Outlook
>> >> >> > OM
>> >> >> > directly the second line below
>> >> >> > Set oRecp = oDistList.GetMember(i)
>> >> >> > strFreeBusy = oRecp.FreeBusy(dtmStart, 30, True)
>> >> >> > receives an error ("Cannot load free/busy information").
>> >> >> > Using Redemption the second line
>> >> >> > Set oSafeRecp = oSafeDistList.GetMember(i)
>> >> >> > strFreeBusy = oSafeRecp.FreeBusy(dtmStart, 30, True)
>> >> >> > returns w/o error but doesn't return any freebusy info.
>> >> >> > Using RDO:
>> >> >> > Set oRDORecp = oRDODistListItem.GetMember(i)
>> >> >> > strFreeBusy = oRDORecp.GetFreeBusy(dtmStart, 30, True)
>> >> >> > works fine (luckily).
>>
>> >> >> > Why does the Redemption variant not work? Bug? Feature?
>> >> >> > Workaround?
>>
>> >> >> > - Klemens- Zitierten Text ausblenden -
>>
>> >> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>>
>> >> - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>>
>> - Zitierten Text anzeigen -
>
>
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum