0

I want to change below settings using outlook api.

enter image description here

I am using Visual Studio and outlook intercom library.

Is it possible to change these settings. I have referred this SO question Change Outlook settings using VSTO.

Martijn Pieters
  • 889,049
  • 245
  • 3,507
  • 2,997
V.J.
  • 1,004
  • 3
  • 16
  • 34

1 Answers1

0

There is no programmatic way to read or set these options, but they are stored in the registry. You can set them directly, but Outlook would need to be restarted.

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\15.0\Outlook\Preferences]
"PlaySound"
"ChangePointer"
"ShowEnvelope"
"NewmailDesktopAlerts"
Dmitry Streblechenko
  • 56,873
  • 3
  • 44
  • 75
  • Thank you Dmitry for sharing your valuable knowledge. I tried looking into regedit -> HKEY_CURRENT_USER\Software\Microsoft\Office\\Outlook\ all the registeries. but could not find the settings for above specified flag. Can you please help ? :) – V.J. Feb 20 '17 at 04:39
  • Thanks! This helped. – V.J. Feb 21 '17 at 04:51
  • PlaySound and ChangePointer settings are not available in registery. Can we add them? – V.J. Feb 21 '17 at 05:15
  • Make sure the checkboxes are checked and then look at the registry values. If unchecked, these values are deleted. – Dmitry Streblechenko Feb 21 '17 at 05:28