(Msg. 1) Posted: Tue Oct 06, 2009 5:12 pm
Post subject: Empty Deleted items folder - Other users folder Archived from groups: microsoft>public>outlook>program_vba (more info?)
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.
(Msg. 2) Posted: Tue Oct 06, 2009 5:12 pm
Post subject: Re: Empty Deleted items folder - Other users folder [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
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" <ih8spam RemoveThis @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
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum