Empty Deleted items folder - Other users folder

  • Thread starter Matt Williamson
  • Start date
Status
Not open for further replies.
M

Matt Williamson

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
 
D

Dmitry Streblechenko

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)

-

"Matt Williamson" <ih8spam@spamsux.invalid> wrote in message

news:%231QStmsRKHA.1280@TK2MSFTNGP04.phx.gbl...
> 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
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
A Prompt on exit to empty deleted items folder "for all accounts" does not work? Using Outlook 6
V Checking for empty field Outlook VBA and Custom Forms 2
Paul Hobbs Automatically accept "Empty Folders" prompt Outlook VBA and Custom Forms 6
vodkasoda Hiding empty Folders Outlook VBA and Custom Forms 0
I Outlook 2003 shows html code when To: field is empty Using Outlook 7
S Conditional formatting problem with "is not empty" and categories Using Outlook 2
Daniel Schunk User-defined form arrives empty at the recipient Using Outlook 3
semnaitik Archive PST is not empty but can't see old emails Using Outlook 2
M Multiple spurious empty folders appear in archive files Using Outlook 3
S Empty an Office365 public folder containing 20.000 messages Using Outlook 2
B Choose commands from Macros is empty Outlook VBA and Custom Forms 3
I Many empty Contacts folders.. cannot get rid of them Using Outlook 4
wisedave IMAP Mail Directory Keeps Going Empty Using Outlook 5
A Mysterious random appearance of empty unsent email Using Outlook 3
M empty fields after Contact History personalisation BCM (Business Contact Manager) 0
S 2010 outlook today looks like an empty email box Using Outlook 4
A email folders appear empty, at first click Using Outlook 2
H Calendar Folder property is empty Using Outlook 1
M Contact Manager field is empty BCM (Business Contact Manager) 0
S Please help! -- Linked Account field at Business Contacts tab is always empty BCM (Business Contact Manager) 1
B In Box Empty Using Outlook 5
P Imap Folders are present, but the inbox folder is empty except for new message Using Outlook 3
V What is wrong with Outlook Connector - it still errors out on an EMPTY Hotmail Using Outlook.com accounts in Outlook 3
M How to clean duplicate/empty e-mail address fields in Outlook contacts Using Outlook 0
R Why Internet headers empty? Exchange Server Administration 2
M Received date empty Outlook VBA and Custom Forms 5
T Outlook Forms Not Working - Fields Empty Outlook VBA and Custom Forms 7
C "The linked image cannot be displayed. The file may have been moved, renamed, or deleted. Verify that the link points to the correct file location" Using Outlook 1
e_a_g_l_e_p_i Can emails from Gmail be deleted when they are downloaded to Outlook 2010 Using Outlook 1
F Wishlist Outlook suddenly began synchronizing deleted items every time I delete a single email. Using Outlook 2
J Dopey move - deleted profile Using Outlook 1
G Retention Policy for Outlook.com Deleted Items folder Using Outlook 0
T How can you include Junk Email in Search Results like you can include Deleted Items? Using Outlook 3
Graham Hyman Outlook 2016 Internet Calendars appearing as deleted Using Outlook 4
W Receiving mail for account that has been deleted Using Outlook 2
M How can we find the list of users who are members of a deleted distribution list? Exchange Server Administration 2
S Messages moved / deleted by auto-archive are not synchronized to exchange Exchange Server Administration 8
N pst files are recreating automaticaly and cannot be deleted Using Outlook 5
D Unopened message in inbox deleted and not in deleted items Using Outlook 3
W Looks like the folder below has been deleted: "iCloud\Calendar" Using Outlook 1
R Exporting recovered Deleted Items outside the Inbox Using Outlook 1
4 Macro to set the category of Deleted Item? Outlook VBA and Custom Forms 2
R Retention periods and Deleted Items Using Outlook 7
P Deleted Items - Unable to Iterate All of Items Outlook VBA and Custom Forms 1
Rupert Dragwater Deleted email address keeps showing up in reply Using Outlook 12
icacream Can't the Deleted Items Folder be self cleaning ? Using Outlook 2
M How many days are items in Recover Deleted at Outlook.com ? Using Outlook.com accounts in Outlook 4
R Recover Deleted Appointment in Calendar Using Outlook 0
S Recovering permanently deleted folder from shared mailbox Using Outlook 1
C Outlook is permanently deleting deleted items (purging) Using Outlook 0

Similar threads

Top