Looping A Sound
heiii guys i dont know why my code is not doing what is suposed to do maybe im not doing it the right way
here there code:
these codes are from my countdown timer that im trying to make for me to make it easier for me whiile i play.
the countdown works but i want it that when it finishh counting down it will play a sound 3 times like i put in the looop somehow the loop only play once and stop lol
so finally my question, HOW do i make it play 3 times?
here there code:
Code:
If sec = 0 And min = 0 And hour = 0 Then
For i As Byte = 1 To 3
My.Computer.Audio.Play("C:\Windows\Media\tada.wav", AudioPlayMode.Background)
Next
tmrstart.Stop()
End If
If sec = 0 And min > 0 Then
sec = 60
min = min - 1
End If
If sec = 0 And min = 0 And hour > 0 Then
sec = 60
min = 59
hour = hour - 1
End If
If sec > 0 Or min > 0 Or hour > 0 Then
sec = sec - 1
End If
the countdown works but i want it that when it finishh counting down it will play a sound 3 times like i put in the looop somehow the loop only play once and stop lol
so finally my question, HOW do i make it play 3 times?
