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!
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.
精彩评论