Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
i make a mp3 player ..... i make also a panel in this media player(mp3 player)i want to add songs like a song list with openfiledialoug plz help me
Posted
Comments
OriginalGriff 6-Jan-13 6:55am    
And what is your problem? What have you tried, where are you stuck?
Arbaz Ali 7-Jan-13 6:58am    
in panel i want to add a song list for example user select a song abc.mp3 through openfiledialoug

[ panel ]
|ABC.mp3|
| |
| |
| |
| |
| |

now user select another song like xyz.mp3 through openfiledialoug

[ panel ]
|ABC.mp3|
|Xyz.mp3|
| |
| |
| |
| |

i want to something like that.... who can i make that type of panel plz help me
OriginalGriff 7-Jan-13 7:18am    
Yes, we guessed that.
What have you tried? What controls are you trying to use? What is giving you difficulty?
Have you tried using a DataGridView or similar?
Arbaz Ali 7-Jan-13 7:21am    
no i just take a groupbox just ...... for creating a song list kindly tell me what can i do in this groupbox for this work
Arbaz Ali 7-Jan-13 7:22am    
if u give me a skype id i will send u my project

"no i just take a groupbox just ...... for creating a song list kindly tell me what can i do in this groupbox for this work"

Me? I wouldn't use a groupbox.
You want something that can act as a list - i.e. that makes it easy for you to add items at the bottom, and remove them from the top when they have played and so forth. If you use a groupbox, then you need to add controls dynamically within it, and it will not scroll well automatically.

Consider using a DataGridView, or a ListView - they both will work well with minimal effort on your part and are very easy to set up.
 
Share this answer
 
If you 'made an mp3 player', odds are you did next to nothing and just used the WMP control. It has events for when a file stops playing, and also playlists. So, just keep using the object to do what you want, and if you have a specific question, post the code for what you've done and explain where you are stuck.

This is not programming, you should write basic things that don't rely on black boxes. An API is great for a specific need, but not helpful for learning
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900