Form1.vb

 Public Class Form1

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
      
    End Sub

    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        Label1.Text = TimeOfDay
    End Sub

    Private Sub Timer2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer2.Tick
        If TextBox1.Text = Label1.Text Then
            My.Computer.Audio.Play(Application.StartupPath & "\Alarm.wav")
            Timer3.Enabled = True
            Timer4.Enabled = True
        End If
    End Sub

    Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
        Static A As Integer
        A = A + 1
        If A = 5 Then
            My.Computer.Audio.Play(Application.StartupPath & "\Alarm.wav")
            A = 0
        End If
    End Sub

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        If TextBox1.Text = "" Then
            ErrorSet.SetError(TextBox1, "Please Enter Time")
        Else
            ErrorSet.SetError(TextBox1, "")
            Timer2.Enabled = True
            Me.Hide()
        End If
      
    End Sub

    Private Sub Timer4_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer4.Tick
        Button1.Visible = False
        Button2.Visible = True
        Static B As Integer
        B = B + 1
        Me.Show()
        Me.Hide()
        If B = 20 Then
            Me.Show()
            Timer4.Enabled = False
        End If
    End Sub

    Private Sub Form1_FormClosing(ByVal sender As Object, ByVal e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
        End
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Button1.Visible = True
        Button2.Visible = False
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        End
    End Sub
End Class

Project Homepage: