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

autoarchive settings



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 15th 07, 11:33 AM posted to microsoft.public.outlook.program_vba
Peter
external usenet poster
 
Posts: 120
Default autoarchive settings

I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra--otions--....-- autoarchive is a button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.
Ads
  #2  
Old February 15th 07, 04:08 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default autoarchive settings

The folder autoarchive settings are stored in a hidden message in each
folder. The settings themselves are not accessible from the Outlook object
model. You have to use a lower level API such as CDO 1.21 (optional
installation), Extended MAPI (C++ or Delphi only) or a MAPI wrapper such as
Redemption (www.dimastr.com/redemption) to do what you want.

To see an example of setting a folder's archive settings using CDO 1.21 see
http://www.cdolive.com/cdo5.htm#ChangeAutoArchive

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Peter" wrote in message
...
I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra--otions--....-- autoarchive is a
button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.


  #3  
Old February 27th 07, 01:12 PM posted to microsoft.public.outlook.program_vba
David
external usenet poster
 
Posts: 196
Default autoarchive settings

Hi Peter,

I have been trying to find out how to set the Autoarchive path
automatically, Could you tell me where the registry key is for the
auotarchive path?

Thanks

Dave

"Peter" wrote:

I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra--otions--....-- autoarchive is a button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.

  #4  
Old February 27th 07, 03:30 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default autoarchive settings

See http://support.microsoft.com/kb/836755/

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"David" wrote in message ...
Hi Peter,

I have been trying to find out how to set the Autoarchive path
automatically, Could you tell me where the registry key is for the
auotarchive path?

Thanks

Dave

"Peter" wrote:

I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra--otions--....-- autoarchive is a button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.

  #5  
Old March 2nd 07, 12:17 AM posted to microsoft.public.outlook.program_vba
David
external usenet poster
 
Posts: 196
Default autoarchive settings

Thanks, Sue,

I will try this as soon as, Might be what ive been looking for...

Thanks
Dave

"Sue Mosher [MVP-Outlook]" wrote:

See http://support.microsoft.com/kb/836755/

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"David" wrote in message ...
Hi Peter,

I have been trying to find out how to set the Autoarchive path
automatically, Could you tell me where the registry key is for the
auotarchive path?

Thanks

Dave

"Peter" wrote:

I'm configuring a company wide autoarchive policy in outlook 2003.
So I set autoarchive on with office policies from ORK
I set the default archive path and filename by a registry setting at logon

However there is one problem.
I want to set each folder of a mailbox to the auto archive settings
automaticly.
When a user create a new (Sub) foler in the mailbox, this new folder must
also get the auto archive setting automaticly.
In the autoarchive field in extra--otions--....-- autoarchive is a button
whice set the auto archive settings to each folders in the mailbox.

Can any of you help me to create a VBA script whice has the same
functionality as the button.
So I can run this script everytime outlook starts.


 




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
Autoarchive settings Andrew Chalk Outlook - General Queries 0 January 31st 07 06:43 PM
Autoarchive settings Andrew Chalk Outlook - Installation 0 January 31st 07 06:43 PM
how to export AutoArchive per-folder settings erk8pj Outlook - Installation 1 November 22nd 06 05:43 PM
Shared mailbox - autoarchive settings DMAC Outlook - Installation 2 February 28th 06 07:25 AM
restore default autoarchive folder settings in outlook sashawalking Outlook - Installation 0 February 5th 06 11:25 PM


All times are GMT +1. The time now is 07:01 AM.


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.