473,406 Members | 2,894 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Play a specific song from a playlist using WMP

Tyler Wiebe
Okay, I'm wondering how to play a specific song from a playlist and then go to the next song like normal.

EX: Playlist = Song1, Song2, Song3, Song4

Let's say I want to play Song2 first, it'll play that song, and when it finishes, it'll move onto the next one (Song3), and then the one after that (Song4), and then loop back to Song1, and then replay Song2 and so on.

Does anyone know how to do this?
Jun 16 '11 #1
6 3643
Curtis Rutland
3,256 Expert 2GB
What component are you using to play the songs?
Jun 16 '11 #2
I'm assuming by component, you mean what version of WMP I'm using, so in this case it would be WMP 12. If I'm incorrect of what you meant, let me know.
Jun 16 '11 #3
Curtis Rutland
3,256 Expert 2GB
I assumed you were playing it with your program. Are you using the AxWindowsMedia control, or are you starting the actual media player?
Jun 17 '11 #4
Okay, so that's what you meant. In that case, I'm using the AxWindowsMedia control in my application.
Jun 17 '11 #5
Curtis Rutland
3,256 Expert 2GB
Start here:

http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx

See what you can learn from the documentation, and give it a shot. Then post any code you're having trouble with, and we'll help you solve the specific problems.
Jun 17 '11 #6
Sorry, but I couldn't find anything in your link that does what I want(Or at least I did not see it. What I want is:

AxWindowsMedia.currentPlaylist.startAt(@"C:\...");
OR
AxWindowsMedia.currentPlaylist.startAt(3);

but sadly that does not exist.
Jun 17 '11 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: manoj | last post by:
hi, I am developing a Player like windows media player. I added some components from WMP. I want to load a playlist directly when .wpl file is loaded , can some one tell me how to do it. for...
3
by: warnold | last post by:
my table contains a lot of fields, so i want to create a form with a combo box and a (probably) text box that goes like this... the combo box display the fields in the table. (this i've already...
3
by: kmurali | last post by:
can any one knew how to play a vedio or songs in a frame using javascript
19
by: Tony | last post by:
I'm working on project that plays movies using Windows Media Player and I'm controlling everything with JavaScript. Per the client I only need to support IE 6 or greater which happens to make...
1
by: rubenbcn | last post by:
Hi all. We are creating a web app that generates a playlist. So you have a list of songs in your left side and you drag and drop them to the right side and sort them. The thing is that we would...
1
by: sathikbasha | last post by:
please help me in java script can we play a song... when i click the html page song should play automatically onload........ plz tel me
1
by: dbanker | last post by:
Hey all, I am trying to use VB in an Access module to open a specific Excel file. Can anyone help me?
0
Catalyst159
by: Catalyst159 | last post by:
Hello, I am trying to create a flash audio player that will play .wav and .mp3's by using a url the user will provides the player. Any help would be greatly appreciated. Thanks Regards, ...
1
by: yogarajan | last post by:
Hi I am creating web site it is containing background mp3 file. Now I would like to know is it possible for the background music automatically play the next song once the previous song is...
5
by: Saser | last post by:
I'm thinking of making a program which must detect when a song played in, for example, iTunes. Whenever a new song is playing, either if a song has ended and another one start or if the user choose...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.