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

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 3rd 10, 05:38 PM posted to microsoft.public.outlook.program_vba
Nabil
external usenet poster
 
Posts: 19
Default 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
Ads
  #2  
Old June 3rd 10, 08:01 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


 




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
Mark as read mkboynton via OfficeKB.com Outlook and VBA 5 June 17th 09 10:59 PM
Mark Sent as Read Dave Outlook and VBA 3 September 16th 08 04:02 PM
Changing CommandBarButton image at runtime Tom at GSD Add-ins for Outlook 0 July 10th 06 04:35 PM
How do I modify Delete button to also mark item as read? [email protected] Outlook and VBA 1 April 24th 06 07:14 AM
Mark as read Sven Berg Outlook - General Queries 1 February 8th 06 10:20 AM


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