Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15568

[RESOLVED] Why is my clock not ticking ?

$
0
0
This subroutine has been giving me trouble for two days now.
Code:

Imports CoreAudio

    Private Sub TimerTick() Handles Timer1.Tick
        My.Computer.Audio.Play(My.Resources.Tikk, AudioPlayMode.Background)   
    End Sub

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

Viewing all articles
Browse latest Browse all 15568

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>