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