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

Setting the auto-archiving folder via script



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 6th 06, 02:52 PM posted to microsoft.public.outlook.program_vba
Thomas
external usenet poster
 
Posts: 40
Default Setting the auto-archiving folder via script

Bonjour from France,

I'm trying to write a script (in javascript) to be added to the logon script
of the users of the company I'm working in.

This script will have to set a different auto-archiving folder than the one
set by default.

This parameter is located in the Windows registry in the followings keys :
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\ "Profile name"
0a0d020000000000c000000000000046\001f032c and 001f0324

This key is a Binary Key.

When I edit the value of that key, I notice that it's composed of the ascii
codes of every character composing the folder name in unicode format. So
'c:\archive\archive.pst' should appear coded as :

'63 00 3A 00 5C 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5C 00 61 00 72
00 63 00 68 00 69 00 76 00 65 00 2E 00 70 00 73 00 74 00'

BUT

It appears coded with a zero at the end :

'63 00 3a 00 5c 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5c 00 61 00 72
00 63 00 68 00 69 00 76 00 65 00 2e 00 70 00 73 00 74 00 00 00'

My two questions about the auto-archiving parameter in the registry are :

1 : What is the difference between the '001f032c' key and the '001f0324' key ?
2 : What is the meaning of the zero terminating the folder name ?

Thanks a lot.

Thomas.
Ads
  #2  
Old March 7th 06, 05:27 PM posted to microsoft.public.outlook.program_vba
Dave Kane [MVP - Outlook]
external usenet poster
 
Posts: 33
Default Setting the auto-archiving folder via script

1. 001f0324 is the value for the archive path, at least on Outlook 2003. I
checked a few systems and didn't find a value 001f032c in any profile,
regardless of the version of Outlook.
2. The final zero (also known as the null terminator) is a marker that
indicates the end of the string in the byte array.

"Thomas" wrote in message
...
Bonjour from France,

I'm trying to write a script (in javascript) to be added to the logon
script
of the users of the company I'm working in.

This script will have to set a different auto-archiving folder than the
one
set by default.

This parameter is located in the Windows registry in the followings keys :
HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows
Messaging Subsystem\Profiles\ "Profile name"
0a0d020000000000c000000000000046\001f032c and 001f0324

This key is a Binary Key.

When I edit the value of that key, I notice that it's composed of the
ascii
codes of every character composing the folder name in unicode format. So
'c:\archive\archive.pst' should appear coded as :

'63 00 3A 00 5C 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5C 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2E 00 70 00 73 00 74 00'

BUT

It appears coded with a zero at the end :

'63 00 3a 00 5c 00 61 00 72 00 63 00 68 00 69 00 76 00 65 00 5c 00 61 00
72
00 63 00 68 00 69 00 76 00 65 00 2e 00 70 00 73 00 74 00 00 00'

My two questions about the auto-archiving parameter in the registry are :

1 : What is the difference between the '001f032c' key and the '001f0324'
key ?
2 : What is the meaning of the zero terminating the folder name ?

Thanks a lot.

Thomas.



  #3  
Old March 8th 06, 08:26 AM posted to microsoft.public.outlook.program_vba
Thomas
external usenet poster
 
Posts: 40
Default Setting the auto-archiving folder via script

Thanks ! Merci beaucoup.

"Dave Kane [MVP - Outlook]" wrote:

1. 001f0324 is the value for the archive path, at least on Outlook 2003. I
checked a few systems and didn't find a value 001f032c in any profile,
regardless of the version of Outlook.
2. The final zero (also known as the null terminator) is a marker that
indicates the end of the string in the byte array.


 




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
dual post of "setting folder option" problem Gordon Byrne Outlook - General Queries 5 March 5th 06 08:40 PM
Archiving Jordan Outlook and VBA 3 March 2nd 06 09:30 PM
Is there a policy or registry setting for setting the default addr scsi Outlook - Installation 1 February 28th 06 01:19 PM
auto linking of Inbox subfolder with server folder [email protected] Outlook and VBA 1 February 6th 06 09:09 PM
Archiving mcp6453 Outlook Express 1 January 21st 06 03:26 AM


All times are GMT +1. The time now is 07:04 PM.


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.