This is my little neat reminder app.
the codes:
I want the program to say a sound when the time is there...Code:Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Enabled = False Exit Sub End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Timer1.Enabled = True End Sub Private Sub DateTimePicker1_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DateTimePicker1.ValueChanged End Sub Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If DateTime.Parse(DateTimePicker1.Value).TimeOfDay <= Now.TimeOfDay Then Timer1.Enabled = False MsgBox(RichTextBox1.Text) End If End Sub End Class
- How do i do that?![]()


Reply With Quote

