WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Empty Deleted items folder - Other users folder

 
   Home -> Office -> Programming VBA RSS
Next:  How to count responses? Possibly use COUNTIF?  
Author Message
Matt Williamson

External


Since: Oct 06, 2009
Posts: 1



(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.

TIA

Matt
Back to top
Login to vote
Dmitry Streblechenko

External


Since: Nov 23, 2003
Posts: 1139



(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
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Programming VBA 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
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support