•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the VB.NET section within the Software Development category of DaniWeb, a massive community of 456,554 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,459 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our VB.NET advertiser: Programming Forums
Views: 727 | Replies: 0
![]() |
•
•
Join Date: Jul 2007
Posts: 23
Reputation:
Rep Power: 2
Solved Threads: 0
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?
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![]() |
•
•
•
•
•
•
•
•
DaniWeb VB.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- How store and download audio file in database? (PHP)
- Getting Audio File Length in C# (C#)
- Audio Website Testimonial (Promotion and Marketing Plans)
- Recommended Web Hosts (Web Hosting Deals)
- Audio File Matching Program (C++)
- Audio Stream Programs for E-mails & Web Sites (eCommerce)
Other Threads in the VB.NET Forum
- Previous Thread: Checkbox on database
- Next Thread: Search Button..Plz Help


Linear Mode