Free/busy

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Previously Dimitry has pointed out that

by calling

Call Namespace.CreateRecipient, then Recipient.FreeBusy

or in full

Dim myNameSpace As Outlook.NameSpace
Dim myRecipient As Outlook.Recipient
Dim myFBInfo As String
Set myNameSpace = myOlApp.GetNamespace("MAPI")
Set myRecipient = myNameSpace.CreateRecipient("Nate Sun") '<--- Exchange
user?
On Error GoTo ErrorHandler
myFBInfo = myRecipient.FreeBusy(#11/11/2003#, 60 * 24)
MsgBox myFBInfo
ErrorHandler:
MsgBox "Cannot access the information. "


I would be able to get the freebusy.

But, that is provided that I have Ms Exchange installed. Can i throught MAPI
and the default calendar (without communicating with Exchange), get the Free
Busy time of the current profile default Calendar free and busy instead? Do
i have to manually calculate the free and busy time myself?

thank you.
 
It should work with or without Exchange server. Of course without Exchange
you can't get the information for anyone else.
 
Does it? I wouldn't expect it to, since there's no Exchange f/b folder to
query. But I guess someone (Semut?) ought to try it.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
As always, you're correct. I get unable to load free busy information from a
PST file with no free/busy server configured. I suppose if a free/busy
server was configured it would work.
 
thanks for the info.

Ken Slovak - said:
As always, you're correct. I get unable to load free busy information from
a
PST file with no free/busy server configured. I suppose if a free/busy
server was configured it would work.
 
Back
Top