How do I make the computer beep?

In .NET 2.0 you can use the new System.Media.SystemSound class to make the computer beep.

For example:

System.Media.SystemSounds.Beep.Play();

The SystemSounds class has the following sounds:

  • Asterisk
  • Beep
  • Exclamation
  • Hand
  • Question

© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 01/08/07
Comment or report problem with topic