![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
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. |
Ads |
#2
|
|||
|
|||
![]()
"Aditya Sen" wrote in message
... 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/...utlook/threads -- Brian Tillman [MVP-Outlook] |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Automation and Access to Outlook Appointments | Guy | Outlook and VBA | 4 | June 12th 08 05:05 AM |
Default folder to Public folder when Exporting outlook form data toexcel | Cass | Outlook - General Queries | 1 | January 11th 08 01:33 PM |
Cannot display the folder. Microsoft Office Outlook cannot access thespecified folder location. | Boppy | Outlook - General Queries | 1 | December 19th 07 01:16 AM |
Rename the default outlook folder name or change to other folder | ggevaert | Outlook - General Queries | 2 | November 23rd 06 05:33 PM |
How do I restore access to my default email folder? | Chris Goetz | Outlook - Installation | 1 | April 29th 06 07:53 AM |