Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
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 5-Jan-13 1:37am
Comments
OriginalGriff at 6-Jan-13 6:55am
   
And what is your problem? What have you tried, where are you stuck?
Arbaz Ali at 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 at 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 at 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 at 7-Jan-13 7:22am
   
if u give me a skype id i will send u my project
Sandeep Mewara at 6-Jan-13 8:02am
   
And what kind of help you are seeking? Where are you stuck?
Arbaz Ali at 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
Krunal Rohit at 6-Jan-13 9:25am
   
and your problem is ??????????
Arbaz Ali at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

"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.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 390
1 Jochen Arndt 150
2 Richard MacCutchan 135
3 DamithSL 95
4 Garth J Lancaster 90
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,260


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 7 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100