Blake81
Well-known member
I have a variable declared as a Windows Media Player and I am trying to get it to play whatever song I have selected in a listbox when I click a button. The problem I'm having is trying to get it to stop playing the current song if I select another one and click the button while a song is playing. I tried myplayer.close and myplayer.controls.stop, but it still plays the second song while the first is still playing. What can I do about this? It seems like one of those things I tried should have worked.