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

Remove song from Windows Media Player Playlist...

Hey it's me again, I need some help with WMP control, because i was trying to remove an item (I have a listbox wich has songlist for playing and a button). I wanna remove the selected song in the listbox from the playlist, but I don't know how to use windowsmediaplayer1.currentPlaylist.removeItem()

killbill07
Newbie Poster
17 posts since Oct 2010
Reputation Points: 10
Solved Threads: 1
 

I found the solution, is very simple, more than i thought it would be.
All we have to do is...

Dim orange as object
set orange=windowsmediaplayer1.currentplaylist.item(List1.ListIndex)
windowsmediaplayer1.currentplaylist.removeitem(orange)

That's all.
I hope that it works for anybody else that need it.

killbill07
Newbie Poster
17 posts since Oct 2010
Reputation Points: 10
Solved Threads: 1
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: