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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Empty Deleted items folder - Other users folder



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old October 7th 09, 12:07 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Empty Deleted items folder - Other users folder

Outlook only enables that menu item for the Deleted Items and Junk E-mail
folders.
On the Extended MAPI level, it calls IMAPIFolder.EmptyFolder method.
plug Redemption exposes that functiomnality through the
RDOFolder.EmptyFolder method
http://www.dimastr.com/redemption/rdo/rdofolder.htm /plug

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Matt Williamson" wrote in message
...
How can I get the ID of a right click menu for another folder that I open
and have full permissions to? I want to code "Empty deleted items" for
this other folder but I can't figure out a way to get the ID of the menu
item to pass to FindControl(). I have code that deletes them in a loop but
the "Empty deleted items" option runs faster and has the progress bar.

TIA

Matt



 




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
Empty deleted items folder Friends of th e Penguin Outlook - Installation 1 February 12th 09 02:05 AM
sample code for empty deleted items folder Tom[_7_] Outlook and VBA 3 September 4th 08 04:00 PM
Cannot empty deleted items folder Latoon Outlook - General Queries 7 January 22nd 08 01:21 PM
recovering messages from 'Deleted Items' folder after "Empty 'Deleted Items' Folder" used [email protected] Outlook Express 1 August 23rd 07 02:55 PM
Message goes to Deleted Items folder instead of Inbox folder needhelp Outlook Express 3 January 17th 06 04:49 PM


All times are GMT +1. The time now is 03:40 PM.


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.