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

To get Items from multiple user created folders



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 18th 08, 12:27 PM posted to microsoft.public.outlook.program_addins
Maddy[_2_]
external usenet poster
 
Posts: 1
Default To get Items from multiple user created folders


Hi ,

I want to get items from user created folders from outlook 2003.
How can I do this.In case of default folders we can do that by using

pFolder=pApp-GetNamespace(_bstr_t("MAPI"))-GetDefaultFolder(olFolderInbox);

Here for default folder olFolderInbox enumeration is there , what should be
done in cae of user created folders.

Please do suggest on the same.

Thanks in advance.
Ads
  #2  
Old January 18th 08, 02:12 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default To get Items from multiple user created folders

If you know the location of the user created folders you can navigate there
using any folder's Folders collection. For example a subfolder of Inbox
would be in oFolderInbox.Folders. To find all folders you need to do a
recursive search starting at NameSpace.Folders and work down from there,
examining each MAPIFolder.Folders that's present.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Maddy" wrote in message
...

Hi ,

I want to get items from user created folders from outlook 2003.
How can I do this.In case of default folders we can do that by using

pFolder=pApp-GetNamespace(_bstr_t("MAPI"))-GetDefaultFolder(olFolderInbox);

Here for default folder olFolderInbox enumeration is there , what should
be
done in cae of user created folders.

Please do suggest on the same.

Thanks in advance.


 




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
User-created files. Andy Outlook Express 8 September 27th 07 07:00 PM
change encoding for multiple items/folders [email protected] Outlook - General Queries 3 February 28th 07 01:14 PM
saving to User Created contact folders Rick H Add-ins for Outlook 1 June 30th 06 10:26 PM
Propagate the same user for multiple folders in Outlook FPerkins Outlook - General Queries 1 June 29th 06 04:08 PM
Customizing columns in user-created folders adeel Outlook Express 6 January 17th 06 10:15 AM


All times are GMT +1. The time now is 04:37 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.