Hi All,
Got my PB9, now need help with getting properties from outlook, Seems to work as far as resolving recipient to get the default shared calendar but then I fall short
Got my PB9, now need help with getting properties from outlook, Seems to work as far as resolving recipient to get the default shared calendar but then I fall short

Code:
#COMPILE EXE #DIM ALL #INCLUDE "win32api.inc" #INCLUDE "OUTLOOK.INC" FUNCTION PBMAIN () AS LONG DIM Outlook AS INT__Application DIM myNamespace AS INT__NameSpace DIM CalendarView AS INT__CALENDARVIEW DIM myRecipient AS Recipient DIM CalendarFolder AS MAPIFolder DIM TimeScale AS LONG DIM RES AS INTEGER Outlook = ANYCOM "Outlook.Application" IF ISFALSE(ISOBJECT(Outlook)) THEN EXIT FUNCTION CALL Outlook.GetNamespace (UCODE$("MAPI")) TO myNamespace LET myRecipient = myNamespace.CreateRecipient(UCODE$("helpdesk")) CALL myRecipient.Resolve TO Res IF Res THEN LET CalendarFolder = myNamespace.GetSharedDefaultFolder(myRecipient, %olFolderCalendar) LET CalendarView = CalendarFolder 'everything works to here. how do I get the dayweektimescale property?? CalendarView.DayWeekTimeScale MSGBOX FORMAT$(TimeScale) END IF END FUNCTION
Comment