Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i play random wav files?

Status
Not open for further replies.

nicklad

Programmer
May 19, 2002
29
AU
I am wondering if someone can tell me the code i would need to be able to play 3 random .wav files from a designated folder/directory after pressing a cmd button, without playing the same one more then once each time the cmd button is clicked.
thank u
 
If I'm not mistaken, you can use the Microsoft Media Player control. You can find this control in the components list using CTRL-T. (Most likely at the bottom of the list)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top