1. Here's a thread that needs an answer: Outlook 2010 task - comments missing

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

Discussion in 'Outlook VBA and Custom Forms' started by Nabil, Jun 3, 2010.

  1. Nabil

    Nabil

    Guest
    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 here:

    Tools --> Options --> Other --> Reading Pane

    The registry settings are stored in

    [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\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
  2. Ken Slovak - [MVP - Outlook]

    Ken Slovak - [MVP - Outlook]

    Guest
    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.

    "Nabil" <Nabil@discussions.microsoft.com> wrote in message

    news:043D9C3C-134F-42C2-931C-BB43D0AFF25C@microsoft.com...
    > 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 here:

    > Tools --> Options --> Other --> Reading Pane

    > The registry settings are stored in

    > [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\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

Share This Page