windows forms application plays tone on key press code example
Example: how to supress ding voice in visual studio with little code
e.SuppressKeyPress = true;
// if it does not work for you try with e.handled = true;
e.SuppressKeyPress = true;
// if it does not work for you try with e.handled = true;