A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to access items of all sub-folders within default Calendar folder



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 17th 10, 07:15 AM
Aditya Sen Aditya Sen is offline
Junior Member
 
First recorded activity at Outlookbanter: Feb 2010
Posts: 2
Thumbs down how to access items of all sub-folders within default Calendar folder

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. I am not able to acess the items of this folder. The code that i am using to acess the default folder for appointments is as follows:

_ApplicationPtr m_pApp;
MAPIfolderPtr m_pAppointmentfolder;

m_pApp.CreateInstance(__uuidof(Application));
m_pAppointmentfolder = m_pApp-GetNamespace(_bstr_t("MAPI"))-Getdefaultfolder ( olfoldercalendar);

I need to do this for all the subfolders within the default Calendar folder.
I am using Outlook 2010(beta) and I am programming in C++ in VC++. Please if someone can guide me in this direction.
Thanks in advance.
Ads
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access the Deleted Items Folder escamoteur Outlook and VBA 3 August 29th 09 01:47 AM
How to access the Deleted Items Folder escamoteur Add-ins for Outlook 3 August 29th 09 01:47 AM
Outlook 2007 - default SENT ITEMS Folder daniel_bln_de Outlook - General Queries 8 March 26th 08 12:37 PM
How to set default Sent Items folder to the IMAP acct Sent Items? H Outlook - Installation 1 January 15th 08 04:17 PM
Calendar Items in Public Folders Show in Outlook but not in Outlook Web Access mcdonsco Outlook - Calandaring 1 June 14th 07 11:28 PM


All times are GMT +1. The time now is 11:47 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.