From: Nabil on 3 Jun 2010 12:21 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
From: Sue Mosher [MVP] on 3 Jun 2010 20:47 It is not possible to force Outlook to reread the registry, nor is there any other way to do what you're proposing unless you want to try a kludgy SendKeys operation. In the future, please post Outlook code questions in the forum at http://social.msdn.microsoft.com/Forums/en-US/outlookdev/threads. -- Sue Mosher, Outlook MVP Author of Microsoft Outlook 2007 Programming: Jumpstart for Power Users and Administrators http://www.outlookcode.com/article.aspx?id=54 "Nabil" wrote: > 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
|
Pages: 1 Prev: Edit received messages Next: Trigger ActiveExplorer.SelectionChange programically |