Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Changing the 'Mark item as read when selection changes' at runtime (http://www.outlookbanter.com/outlook-vba/102923-changing-mark-item-read-when.html)

Nabil June 3rd 10 04:38 PM

Changing the 'Mark item as read when selection changes' at runtime
 
Hi,

Outlook version 2007
VS2008
Using VSTO and Redemption

I need to change the following settings at runtime

Mark items as read when viewed in the Reading Pane
Wait [ ] seconds before marking the item as read.
Mark item as read when selection changes.

All the above settings are on a form found he

Tools -- Options -- Other -- Reading Pane

The registry settings are stored in

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\O utlook\Preferences]

I know how to change the registry settings but I don't know to re-load these
settings again without closing outlook and re-openning it again (which I
don't want to do).

Any help would be greatly appreciated. I've been stuck on this for a
lo......ng time.

Thanks

Ken Slovak - [MVP - Outlook] June 3rd 10 07:01 PM

Changing the 'Mark item as read when selection changes' at runtime
 
There's no way to do what you want. Outlook will read those settings only at
startup and from then on will use cached settings in memory. Even if the
settings are changed it will write them out but use the cached settings, so
you're stuck.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Nabil" wrote in message
...
Hi,

Outlook version 2007
VS2008
Using VSTO and Redemption

I need to change the following settings at runtime

Mark items as read when viewed in the Reading Pane
Wait [ ] seconds before marking the item as read.
Mark item as read when selection changes.

All the above settings are on a form found he

Tools -- Options -- Other -- Reading Pane

The registry settings are stored in

[HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\O utlook\Preferences]

I know how to change the registry settings but I don't know to re-load
these
settings again without closing outlook and re-openning it again (which I
don't want to do).

Any help would be greatly appreciated. I've been stuck on this for a
lo......ng time.

Thanks




All times are GMT +1. The time now is 04:58 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-2006 OutlookBanter.com