Hello,
How to make an audio file run (mediaplayer1.play) at a specific time and when checkbox1 is true?
I tried the following code but it does not work:
DateTime.DateFormat = "hh: mm"
If CheckBox1.Checked = True And DateTime.Time (DateTime.Now) = "08:00" Then
mediaplayer1.play
End If
thank you
How to make an audio file run (mediaplayer1.play) at a specific time and when checkbox1 is true?
I tried the following code but it does not work:
DateTime.DateFormat = "hh: mm"
If CheckBox1.Checked = True And DateTime.Time (DateTime.Now) = "08:00" Then
mediaplayer1.play
End If
thank you