In a Windows Form Application, (Windows 7, VB), I've added a WMP control named WMPlayer and a listbox (lstMusic) containing a few filenames of music (mp3).
When the form loads, the play button is disabled until I click on a song to play, at which time I use the
WMPlayer.URL (fstMusic.selecteditem.tostring) statement and the song plays and play button is enabled. When I click the stop button, what I would like is to disable the play
button. I assume the play button will be enabled with the next WMPlayer.URL (fstMusic.selecteditem.tostring) encountered . If that answer is easily available, I can't find it.
Any help will be appreciated.
Thank you,
Paul