Jump to content

Using Timer to repeat a sound Question

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
skilletsteve

skilletsteve

    Learning Programmer

  • Members
  • PipPipPip
  • 45 posts
How do I make a sound repeat a specific number of times?

#2
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Make a variable in the General section ( ex. dim S as integer )
in the form_load event make ( S = 1 )
and in the timer event make

If S = 10 Then Timer1.Enabled = False Else SOUND COMMANDS ETC

S = S + 1