We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,745 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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()

1
Contributor
1
Reply
2 Hours
Discussion Span
2 Years Ago
Last Updated
2
Views
Question
Answered
killbill07
Newbie Poster
17 posts since Oct 2010
Reputation Points: 10
Solved Threads: 1
Skill Endorsements: 0

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
Skill Endorsements: 0
Question Self-Answered as of 2 Years Ago

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page rendered in 0.0528 seconds using 2.62MB