This subroutine has been giving me trouble for two days now.
Timer1 is running, Timer1 Interval is set to 100 and Tikk.wav is only 60 milliseconds long but it only plays once in a blue moon.
CoreAudio.DLL has been added to References, and is in the bin folder, the computer volume is at 100%
I've stripped this subroutine down to the bare minimum as shown, but I still don't get a tick sound every second.
I can see no reason why not.
Poppa
Code:
Imports CoreAudio
Private Sub TimerTick() Handles Timer1.Tick
My.Computer.Audio.Play(My.Resources.Tikk, AudioPlayMode.Background)
End Sub
CoreAudio.DLL has been added to References, and is in the bin folder, the computer volume is at 100%
I've stripped this subroutine down to the bare minimum as shown, but I still don't get a tick sound every second.
I can see no reason why not.
Poppa