VB.NET - Play a Beep From a Windows Form



Plays a beep.

'Assembly: System.dll
'Assembly: System.Windows.Forms.dll

Private Sub BtnPlayBeep_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles BtnPlayBeep.Click
       'Plays a beep sound
        Beep()
    End Sub

Share |

 Cant find the page you are looking for?
 Help us to improve by adding the content that you are looking for.
 Leave a feedback
 We look forward to hear your comments and feedback.