Music Player in C# Visual Studio By Rohit Programming Zone
HTML-код
- Опубликовано: 18 сен 2024
- In this video you will see ,How you can create a Music Player in C# Visual Studio By Rohit Programming Zone
Resource Link 1-xpshort.com/D0...
Link 2-drive.google.c...
Круто 👍
Видно что работает профессионал широкого спектра!
Огромный респект разработчику за видео 👏
Thank you
💥💯
my visualization (bars) is not appearing, but it plays songs, what should i do?
me too
Sir I am getting an error on 21:39 the lbl_track_end.Text line. It is showing 'Object reference not set to an instance of an object'.
Sir how will I solve this error
yeaah, me too bro
I have found a solution.
Just move the try and catch block to the if block. Then it works properly
Thanks
@@uscninja4190 thanks alot
@@shermanator00 happy to help
great video!
What do we do to get the music back when we close and open the form? / Formu kapatıp açtığımızda müziklerin geri gelmesi için napıcaz ??
Ok
hay un pequeño error al cargar 2 a mas veces una lista de musica sale error ...... " the lbl_track_end.Text line. It is showing 'Object reference not set to an instance of an object'."
Can you do exactly that, only in C++?
como hago que se reprodusca automáticamente una lista de música ??
Can you calculate the total time of the playlist? Also, can you show us how to play next track after another automatically?
// play next track after first track finished
if (player.playState == WMPLib.WMPPlayState.wmppsPlaying)
{
if(p_bar.Value >= p_bar.Maximum)
{
btn_next.PerformClick();
}
}
type in the timer tick
Puedes hacerlo en c++
me sale error en las fuentes a la hora de cargar
Sir, i got error System.IndexOutOfRangeException: 'Index was outside the bounds of the array.' when i played music with no cover album, how to solve this error?
when i use "if (player.playState==WMPLib.WMPPlayState.wmppsPlaying)" code block on trackList_SelectedIndexChanged method, it can play normally, but without the cover album displayed
solution:
//Track_list
private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
{
Player.URL = paths[Track_list.SelectedIndex];
Player.Ctlcontrols.play();
try
{
var file = TagLib.File.Create(paths[Track_list.SelectedIndex]);
var bin = (byte[])(file.Tag.Pictures[0].Data.Data);
Cover.Image = Image.FromStream(new MemoryStream(bin));
}
catch
{
Cover.Image = null;
}
}
I did not get it right perhaps , can you give me some time stamps please
@@Ginger_Hrn thank you, your solution is helpful, i kinda need to change your code a little bit so that it fits to my code
sorry for slow response, kinda busy a week before, the timestamps is : 28:02
@@Ginger_Hrn but there is another problem
Player.URL = paths[Track_list.SelectedIndex]; have System.IndexOutOfRangeException: 'Index was outside the bounds of the array.' when adding more music to the music player, the adding was succesful but when it played, the exception occur
is it possible to add more music to the media player? (the timestamps is 14:04)
@@AknaPelajar well sorry ... it's not possible because the search box of windows cannot hold its previous values so it will always give some exceptions.
First link is not working...then How We get stock images..
Music Player is very Good! but I don't know how to create .dll file(display pic_art image)
Hi
To create a .dll file ..
Open Visual Studio and create a new project.
Select "Class Library" as the project type.
Write your code and compile the project.
The resulting .dll file can be found in the bin/Debug or bin/Release folder of your project.
Note: The .dll file can be used as a reference in other projects, allowing you to reuse code.
So you can simply download and use..
@Rohit Programming Zone thank you very much! please have a nice day
visual studio 2010?
Hi Rohit, how can change speed ratio like volume
Stay tuned ....!
File isn't downloading
drive.google.com/file/d/14Xf6FH1I2nLaKxrSsEX4OCyAxQxj1sux/view?usp=sharing
Sir koi website bataiye jisme all media player controls icons ( combo) and images free me mil jaye
Link-1-www.flaticon.com
Link-2-icons8.com
@@rohitprogrammer sir please Banifu ya Nuget custom progreesbar ko kaise download kre aur add kre plese bataye
File is not downloading
Found any solutions