-2

I would like to create an application which disables balloon tips in my system by editing the registry (there is another way?). But I want that it would be take place immediatly and without restart/log off.

Thank you!

dplante
  • 2,445
  • 3
  • 21
  • 27

1 Answers1

3

You have to set the value of EnableBalloonTips in the registry key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced to 0. You can use the RegistryKey class for that.

Then you can use a method to exit Windows Explorer and start Windows Explorer again using Process.Start.

However you should ask for user's permission before you restart Windows Explorer.

Community
  • 1
  • 1
Norbert Willhelm
  • 2,579
  • 1
  • 23
  • 33