Prev: how do i see conflict details when scheduling meetings
Next: Shared Calendar entries slow over LAN network
From: Aditya Sen on 17 Feb 2010 01:09 Hello Everyone, I am making this application where i need to sync the calender items. I am able to do so for the Default Calendar folders of appointments, tasks and journals. But when i import some calendar, it create a sub folder within the Default folder named Calendar in Outlook. I am not able to access the items of this folder. The code that i am using to access the default folder for appointments is : _ApplicationPtr m_pApp; MAPIfolderPtr m_pAppointmentfolder; m_pApp.CreateInstance(__uuidof(Application)); m_pAppointmentfolder = m_pApp->GetNamespace(_bstr_t("MAPI"))->Getdefaultfolder ( olfoldercalendar); I am using Outlook 2010(beta) and I am programming in C++ in VC++. Please if someone can guide me in this direction, It would be a great help as I need to complete this quickly. Thanks in advance. -- Aditya Sen
From: Brian Tillman [MVP-Outlook] on 17 Feb 2010 09:06
"Aditya Sen" <Aditya.Sen.5c177d1(a)outlookbanter.com> wrote in message news:Aditya.Sen.5c177d1(a)outlookbanter.com... > I am making this application where i need to sync the calender items. I > am able to do so for the Default Calendar folders of appointments, tasks > and journals. But when i import some calendar, it create a sub folder > within the Default folder named Calendar in Outlook. I am not able to > access the items of this folder. The code that i am using to access the > default folder for appointments is : > > _ApplicationPtr m_pApp; > MAPIfolderPtr m_pAppointmentfolder; First, the correct newsgroup for programming questions is microsoft.public.outlook.program_vba. The correct forum for Outlook 2010 questions is http://social.technet.microsoft.com/Forums/en-US/outlook/threads -- Brian Tillman [MVP-Outlook] |