title: VB.NET 2010 - Windows Ding.wav playing when pressing Enter inside a TextBox
body: <p>I have a program where you type something into a TextBox and press Enter, then it will add the text into a ListBox and erase the TextBox.
  It does work!
  However, when Enter is pressed, the <code>C:\Windows\Media\Windows Ding.wav</code> audio plays.
  It's honestly just annoying...
  Anyone know how to stop that?
  Thanks!</p>
  <pre><code>Private Sub TextBox1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
      If e.KeyCode = Keys.Enter Then
          ListBox1.Items.Add(TextBox1.Text)
          TextBox1.Text = &quot;&quot;
      End If
  End Sub
  </code></pre>