msoutlook.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Empty the Deleted Items folder upon exiting" setting

 
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook
Author Message
Frank S



Joined: 16 Feb 2008
Posts: 3

PostPosted: Fri Feb 15, 2008 11:03 pm    Post subject: "Empty the Deleted Items folder upon exiting" setting Reply with quote

Can I use VBA to read the Options > Other > "Empty the Deleted Items folder upon exiting" setting?

--
Regards,

Frank

Archived from group: microsoft>public>office>developer>outlook>vba
Back to top
View user's profile Send private message
Michael Bauer [MVP - Outl



Joined: 12 Aug 2007
Posts: 92

PostPosted: Mon Feb 18, 2008 11:34 am    Post subject: Re: "Empty the Deleted Items folder upon exiting" setting Reply with quote

It's stored in the registry, for OL 03 it is in:

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences

EmptyTrash=1: Delete
EmptyTrash=0: Don't

--
Best regards
Michael Bauer - MVP Outlook
Use Outlook Categories? This is Your Tool:


Am Fri, 15 Feb 2008 18:03:11 -0600 schrieb Frank S:

> Can I use VBA to read the Options > Other > "Empty the Deleted Items
folder upon exiting" setting?
Back to top
View user's profile Send private message
Frank S



Joined: 16 Feb 2008
Posts: 3

PostPosted: Mon Feb 18, 2008 1:37 pm    Post subject: Re: "Empty the Deleted Items folder upon exiting" setting Reply with quote

Thank you.

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Deleted Items Folder Hi! How could I know if a mapifolder is the Deleted Items folder? I want to move an item to the deleted items folder and I don't know how. I look for through all the root (inbox, personal folder..) dependant folders, bu I don't konw which property can def

moving items from one folder to another How would I test an item, see what type of item it is, move that item to a folder, making sure not to change the info, and move any attachments. If it it is a calender item, if it is a repeating item, then move it along with all of the reating info. I wou

Setting the ListIndex I can't figure out why this is giving me errors? I have tried a million variations with and without CInt(...). DebugMsg "Setting the listindex of the event month " & If = "" Or < 1 Then

Setting "FROM" user in Outlook 2000 Hi everyone, hope some can help me out here. I'm using a VB Script in Access 2000 to generate an email message in Outlook 2000, which simply contains informaiton based on the Access form I have open at the time. The following code simply sets the recipien

setting up exchange/outlook to allow automation I'm in looking into the options to get an access program to successfully send emails (and avoid the anti-virus dialog box). The instructions state "outlook 2002" - will these controls work if the client has outlook 2000 (sp3
Post new topic   Reply to topic    msoutlook.org Forum Index -> MS Office Outlook All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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


Powered by phpBB © 2001, 2005 phpBB Group