Console.Beep Method plays the sound of a beep through the console speaker.
Imports System Class Sample Public Shared Sub Main(args() As String) Dim x As Integer = 0 Dim i As Integer For i = 1 To 3 Console.Beep() Next i End Sub End Class