954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Audio file

Hi

I have an audio file. Each time maskcount is above 0, the file will be played. But the problem is the duration of the file is only 5 sec. So it will stop playing after 5 sec. How do i make it play continuosly for as long as the maskcount > 0?

Dim someFile As String = "F:\HearingTestSimulator\pwn_wav.wav"

       If maskcount > 0 Then
            My.Computer.Audio.Play(someFile)

        ElseIf maskcount = 0 Then
            My.Computer.Audio.Stop()
        End If
mustoora
Newbie Poster
23 posts since Jul 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You