How to Create Music Player App in C Sharp (C#) within 25 Minutes?

Поделиться
HTML-код
  • Опубликовано: 2 июн 2024
  • 🔴 Support - bit.ly/support-vijay-thapa [ PayPal ]
    ☕️ Buy me a Coffee - www.buymeacoffee.com/vijaythapa
    Want to learn Desktop Application Development by Making a Simple Music Player in Just 25 Minutes?
    If your answer is YES, then this video is for you.
    In this tutorial, You'll learn to create simple music player app in Microsoft Visual Studio using C# Programming Language.
    You can also check out other complex tutorial series as follows
    Billing System in C#: • 1. How to create BILLI...
    E-Contact App : • 1 How to Create Simpl...
    Description: vijaythapa.blogspot.com/2018/...
    LET'S CONNECT!
    ► PATREON: / vijaythapa
    ► FACEBOOK: / thevijaythapa
    ► TWITTER: / thevijaythapa
    ► GOGGLE+: plus.google.com/u/0/+VijayTha...
    ► PINTEREST : / vijaythapa
    ► LINKED IN: / vijaythapa
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Комментарии • 144

  • @ewoutlagendijk7385
    @ewoutlagendijk7385 3 года назад +11

    Thank you for the clear explanation! All I needed to change was the size/resolution, some parts were falling off and/or overlapping (using Visual Studio on Windows 10). After hard-coding the sizes of the media player and text box, this was resolved.

    • @VijayThapa
      @VijayThapa  3 года назад +4

      I'm really glad to know that the tutorial was helpful to you.
      Best Wishes on further app development.
      And if you think the tutorials can also be helpful to others, please SHARE with your friends and family.
      It also helps this channel to GROW and your loved ones can also learn software development for FREE.
      Thanks and Regards!

  • @LinguaBlend
    @LinguaBlend 5 лет назад +1

    Great please make more videos like this video

  • @mahimabegum3520
    @mahimabegum3520 4 года назад +10

    This was a wonderful video that I found very helpful. The demonstration and explanation was perfect. It would be very useful if you could create a video on how this Music Player App can be expanded on by adding functions such as next song, previous song, shuffle songs, repeat songs, play all songs, create playlist etc. :)

    • @VijayThapa
      @VijayThapa  4 года назад +1

      Thank you so much for following the tutorial.
      I'll try to add more complex features in coming tutorials.
      .
      If you wan to learn more complex desktop application development, then you can follow the tutorial series below
      .
      1. BILLING SYSTEM in C#: bit.ly/billing-system-in-c-sharp-free-tutorial
      2. Blood Bank Management System: bit.ly/blood-bank-management-system-playlist

    • @val-cc1ry
      @val-cc1ry 3 года назад +1

      @@VijayThapa How to save the playlist sir? pls help!

  • @theaverageguy5012
    @theaverageguy5012 3 года назад

    Vijay, I would like to play .rec files instead of .wav files & mp3 files. Is there any way is it possible.

  • @developerhome4757
    @developerhome4757 5 лет назад +2

    Amazing sir..

  • @josh5965
    @josh5965 2 года назад +1

    This video helped tremendously, im in college and had to make something like this and this video gave me a fantastic starting point. thanks for making it!

    • @VijayThapa
      @VijayThapa  2 года назад +1

      I’m really glad that the tutorial was helpful to you.
      Also if you think the tutorials could be helpful to others, then please Share with your Family and Friends.
      Thank you so much for your love and support.

  • @dragonore2009
    @dragonore2009 2 года назад +1

    Oh, well that was allot easier than what I did. I developed a music app in Java and programmed everything including the play, pause, stop, previous, next song and everything else. What you did was so much easier to simply use the windows media player dll.

    • @VijayThapa
      @VijayThapa  2 года назад

      I'm really glad that you enjoyed the tutorials.
      Thank you so much for your love and support.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @bridgeplayer4483
    @bridgeplayer4483 3 года назад

    Sir. How to create auto play, like when song ends - next song starting playing? THK

  • @RedRoy
    @RedRoy 3 года назад

    When I typed in the String[] paths, files it said it cannot appear outside a method body pls help!

  • @yungfather4527
    @yungfather4527 5 лет назад +2

    Can someone explain me how to create auto play, like when song ends - next song starting playing?

  • @keyjordan7809
    @keyjordan7809 3 года назад

    I get a Items collection cannot be modified when the DataSource property is set error and I don't know why

  • @AGEOFTECHNOLOGY
    @AGEOFTECHNOLOGY 4 года назад +2

    Thank You So Much. it works... 😍

    • @VijayThapa
      @VijayThapa  4 года назад

      Thank you So Much for Following the Tutorial.
      Hope it has helped you. And if you think it can help others as well, then don't forget to share it with your loved ones, so that they can also learn SOFTWARE DEVELOPMENT for FREE.
      Best Wishes!

  • @cristiandavidesquivelvilla1244
    @cristiandavidesquivelvilla1244 3 года назад +1

    Thanks so much buddy, you're great!!

    • @VijayThapa
      @VijayThapa  3 года назад +1

      You're welcome!
      And I'm really glad that you enjoyed the course.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Software/Web Development for FREE.
      Thanks and Regards!

  • @user-wq2qo2ng9j
    @user-wq2qo2ng9j 8 месяцев назад +1

    Thank you! It is so helpful to beginner like me. sorry to my bad english

    • @VijayThapa
      @VijayThapa  8 месяцев назад +1

      I'm really glad that the tutorials were helpful to you.
      Your english is good.
      Best Wishes!

  • @vishwavlogs363
    @vishwavlogs363 5 лет назад +2

    Nice play music application for desktop, Sir.

  • @rohinipatil5555
    @rohinipatil5555 4 года назад +1

    Its really amazing..thanku sir

    • @VijayThapa
      @VijayThapa  4 года назад

      You're welcome Rohini.
      And Thank You So Much for Following the tutorial.
      Hope it was helpful to you and if you think it can help others as well, then don't forget to SHARE it with your loved ones. So that they can also learn software development for FREE.
      #happyCoding
      #bestWishes

  • @tirolocomcleod
    @tirolocomcleod 3 года назад

    What if I didn't want to display the songs that are in the list? How do I do that?

  • @babasahebsukale365
    @babasahebsukale365 5 лет назад +7

    sir how to add functions like
    1[previous
    2]next
    3]add folder
    4]shuffle option
    5] Repeat Song
    6] Create playlist
    sir,make a tutorial on this functionalities

  • @lightwhisperx2607
    @lightwhisperx2607 3 года назад

    A great video, thank you very much!

    • @VijayThapa
      @VijayThapa  3 года назад

      Glad you liked it!
      Thank You So Much

  • @taizyachikopela5733
    @taizyachikopela5733 Год назад

    Hello, what can I do to ensure that it only plays one file format

  • @CompromisedSolace
    @CompromisedSolace 3 года назад +1

    This was a cool and easy project, thanks. Maybe do an updated one for UWP?

    • @VijayThapa
      @VijayThapa  3 года назад

      I'm really glad that you enjoyed the tutorials.
      I'll try my best to create courses on updated versions as well.
      Thanks and Regards!

  • @saqibfarooq8309
    @saqibfarooq8309 5 лет назад +3

    Welcome back bro 😊😊

    • @VijayThapa
      @VijayThapa  5 лет назад

      Your love and support encourages me to create new videos. Thanks Saqib.

  • @shifatsalam4993
    @shifatsalam4993 3 года назад +1

    You are amaizing man.
    thanks man

    • @VijayThapa
      @VijayThapa  3 года назад

      You're welcome!
      Thank you so much for checking out the tutorials.
      I'm really glad that the tutorial was helpful to you.
      Best Wishes!

  • @rjbeatz
    @rjbeatz 3 года назад +1

    How to make the media player play only a portion of a song?

  • @ruatfelachawngthu2657
    @ruatfelachawngthu2657 2 года назад

    Wow im so exited to make it..

    • @VijayThapa
      @VijayThapa  2 года назад

      Thank you.
      Hope it's helpful to you.

  • @edsonferraz1
    @edsonferraz1 3 года назад +1

    Very good video!! Do is possible open audio of the microfone externo?

    • @VijayThapa
      @VijayThapa  3 года назад +1

      Thank you @Edson,
      It depends on the format of the audio recorded. But it cannot record the audio.

  • @Hiba.writes
    @Hiba.writes Год назад

    Sir I did All the setting but windows media player not showing in Toolbar

  • @flashttv9614
    @flashttv9614 2 года назад +2

    Thx so much man this is sickkkkkkkkkk

    • @VijayThapa
      @VijayThapa  2 года назад +1

      I'm really glad that you enjoyed the tutorial.
      Thank you so much for your love and support.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @dudedudedudedude5381
    @dudedudedudedude5381 Год назад +1

    thank you for sharing sir!

    • @VijayThapa
      @VijayThapa  Год назад

      My pleasure!
      Hope the tutorials were helpful to you.

  • @rhfin6275
    @rhfin6275 2 года назад +1

    great video and great explanation

    • @VijayThapa
      @VijayThapa  2 года назад

      Thank you so much.
      I'm really glad that you enjoyed the tutorial.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @isurumccaldera8787
    @isurumccaldera8787 4 года назад +2

    it works perfectly..

    • @VijayThapa
      @VijayThapa  4 года назад

      Thank you so much for following the tutorials.
      If you think the tutorial has helped you and can help others as well, then don't forget to share it with your loved ones, so that they can also learn software development for FREE.
      Best Wishes!

  • @avishkashehan5674
    @avishkashehan5674 2 года назад +1

    it's Grate thank you soo much

    • @VijayThapa
      @VijayThapa  2 года назад

      You're welcome.
      I'm really glad that the tutorials were helpful to you.
      Hope you enjoyed other tutorials as well.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @microdark5802
    @microdark5802 2 года назад +1

    Your video installed my confidence.

    • @VijayThapa
      @VijayThapa  2 года назад +1

      Thank you so much.
      I’m really glad that the tutorials were helpful to you.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

    • @microdark5802
      @microdark5802 2 года назад

      @@VijayThapa kindly make a second tutorial for this video, I'll be glad to see it continuation. I'm a novice in C# and there's less of what i know. 🙏🙏

  • @user-pz3fn4zd1e
    @user-pz3fn4zd1e 2 года назад +1

    Good and Thanks!!!!!!!

    • @VijayThapa
      @VijayThapa  2 года назад

      You're welcome.
      Hope the tutorial was helpful to you.
      Also if you think the tutorials could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @piyushnautiyal7075
    @piyushnautiyal7075 Год назад

    my boxes(window music,select ,songs list) are overlapping

  • @oengeiangkuy8705
    @oengeiangkuy8705 4 года назад +2

    Thank you love u

    • @VijayThapa
      @VijayThapa  4 года назад

      Thank you so much for following the tutorial.
      You can watch more tutorials series to create real applications in the link below
      1. Contact Management: bit.ly/e-contact-app-in-c-sharp
      2. Blood Bank Management System: bit.ly/blood-bank-management-system-playlist
      3. Billing System: bit.ly/billing-system-in-c-sharp-free-tutorial

  • @amishparekh6876
    @amishparekh6876 3 года назад +3

    the windows media player component is not visible in toolbox after adding it

  • @mgh75
    @mgh75 2 года назад +1

    Excellent man 😘

    • @VijayThapa
      @VijayThapa  2 года назад

      Thank you so much.
      I'm really glad that you enjoyed the course.
      Also if you think the tutorial could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Web Development for FREE.
      Thanks and Regards!

  • @pranshumishra1670
    @pranshumishra1670 5 лет назад

    Sir what are the minimum requirements of the computer to run this player. Please sir reply to me as I am thinking to take this as my mini project.

  • @ehsanshahzad4971
    @ehsanshahzad4971 2 года назад +1

    Wah Kia Baat Hai 5* Best Thanks Yaar

    • @VijayThapa
      @VijayThapa  2 года назад

      Thank You So Much @Ehsan .
      I'm really glad that you enjoyed the course.
      Also if you think this tutorial could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your love ones can also learn Web Development for FREE.
      Thank you so much for your love and support.

    • @ehsanshahzad4971
      @ehsanshahzad4971 2 года назад

      @@VijayThapa Aslaam Vijay , Much Thanks For the Comment! I just wanted to ask how I could edit a program developed by another company (Its a program installed on my pc), Please can you upload a video on this , I would be very great full , Thanks Again Vijay!

  • @macrotvirosephonline8734
    @macrotvirosephonline8734 4 года назад

    if you select music from your folder the 2nd time an error will occur and it says
    An unhandled exception of type 'System.IndexOutOfRangeException' occurred in MusicPlayerAppcSharp.exe
    Additional information: Index was outside the bounds of the array.
    how can I fix this error sir?

    • @macrotvirosephonline8734
      @macrotvirosephonline8734 4 года назад

      this is the part sir highlighted by the exception
      private void listBoxSongs_SelectedIndexChanged(object sender, EventArgs e)
      {
      wmpMusic.URL = paths[listBoxSongs.SelectedIndex];
      }

    • @Voidsway
      @Voidsway 3 года назад +1

      @@macrotvirosephonline8734 I know this is old but ran into this and put it together real quick. I ran into this issue myself and a few others but to fix this one.
      I created another list to store all the paths. Once stored, I would add any new paths that were pulled from the select btn. This allowed me to keep the index of all the paths constant. You would then change the selected index change function to your new list.SelectedIndex
      Basically make a list accessible from anywhere in the script.
      List trackPaths = new List()
      In the Select_Btn_click add another for loop.
      for(int i = 0; i < paths.Length;i++) trackPaths.Add(paths[i])
      Next
      In the ListBox_Selected IndexChange function change the
      windowsMediaPlayer.URL = trackPaths[Listbox.SelectedIndex]
      Issue will be solved. Hopefully it helps anyone that gets stuck trying to figure it out.

    • @angryrussianhd2470
      @angryrussianhd2470 3 года назад +1

      @@Voidsway it worked! I thought changing paths and files to a generic list would help but it didnt made a difference.

  • @Usenowgamer
    @Usenowgamer 3 года назад +2

    Nice video! Also a quick feature you can add is a button that clears the songs. Duplicate the Select songs button, resize them to fit. Then change the name of it and double click the button. in the selected line do:
    listBoxSongs.Items.Clear();
    That's it! not sure why he didn't put this in the video to be honest!

    • @VijayThapa
      @VijayThapa  3 года назад +2

      It's supposed to be a quick video to get beginners interested in C#.
      So, I kept it simple and short.
      You can watch other advanced courses like
      1. Billing System in C# - ruclips.net/video/Lttd3ohTarE/видео.html
      2. Blood Bank Management System - ruclips.net/video/DUpNn59TVbQ/видео.html
      And try adding the missing features.
      Thanks and Regards

  • @mohammadalmjarha3964
    @mohammadalmjarha3964 5 лет назад +1

    thank you

  • @marriagedance3055
    @marriagedance3055 3 года назад

    vijay thapa can you teaching c# complete please

  • @bamboooz3201
    @bamboooz3201 3 года назад +2

    in toolbox i have no windows media player option! im using visual studio 2019! Plz Help!

    • @VapeZk
      @VapeZk 3 года назад +1

      Make sure, that you are creating a .NET Framework project instead of a .NET Core!

  • @shimadamada7758
    @shimadamada7758 4 года назад

    How do you get to the form thing? It didn't pop up when I created my project...

    • @VijayThapa
      @VijayThapa  4 года назад +1

      Form should pop up, please check out the tutorials again. #bestWishes

  • @fatelori5644
    @fatelori5644 Год назад

    Could not found windows media player sir🥲.. Pluz recomend me a good video for my minor project

  • @drwhackadoodle360
    @drwhackadoodle360 3 года назад

    I keep getting an index out of range exception for the mediaplayer url setting it to the listbox.selected index

    • @drwhackadoodle360
      @drwhackadoodle360 3 года назад

      It gives an out of range exception if you dont add the songs all at once ;/

  • @equipealiens
    @equipealiens 7 месяцев назад +2

    THX!!!!!

    • @VijayThapa
      @VijayThapa  7 месяцев назад +1

      You’re welcome.
      Hope the tutorial was helpful to you.

  • @mrrsophakkh7466
    @mrrsophakkh7466 3 года назад

    How use next and previous button

  • @AzecSys
    @AzecSys 3 года назад

    How to add scroll bar in music list box?????

  • @thuyvandertd
    @thuyvandertd 4 года назад

    sir did you have video for make it to app for use?

    • @VijayThapa
      @VijayThapa  4 года назад

      Sorry, I did not get you.
      Can you make it clear please.

  • @nevxo8654
    @nevxo8654 4 года назад +1

    AWESOME

    • @VijayThapa
      @VijayThapa  4 года назад +1

      Thank you so much for following the tutorial, hope it was helpful to you.
      If you think it has helped you and can help others, then don't forget to share so that your loved ones can also learn Software Development for FREE.
      By the Way, You can also check out my new tutorial series like "Blood Bank Management System" and "Billing System in C#".

  • @szymondressler4769
    @szymondressler4769 3 года назад

    What to do if the music isn't playing?

  • @aathithyaaathithya8110
    @aathithyaaathithya8110 Год назад

    In which visual studio version did you do it

  • @mohamuddahir5772
    @mohamuddahir5772 3 года назад +2

    Thanks

    • @VijayThapa
      @VijayThapa  3 года назад

      You're Welcome.
      Hope the tutorial was helpful to you.
      Also if you think the tutorial could be helpful to others, then please SHARE with your family and friends.
      It helps this channel to GROW and your loved ones can also learn Software Development for FREE.
      Thanks and Regards!

  • @deveshvagal3238
    @deveshvagal3238 5 лет назад +1

    Nice to see you Back sir 😊😊
    Sir can you make a receipt using crystal reports in your next video my friend is working on an project he needed it so if you make it will help him & me as well.

    • @VijayThapa
      @VijayThapa  5 лет назад

      I'll try to make it ASAP, Dev.

  • @mustafaawad7885
    @mustafaawad7885 2 года назад

    I have a problem that it doesn't let me use the windows media player and I don't know the reason

  • @hamzaahmedwajeeh5908
    @hamzaahmedwajeeh5908 3 года назад

    how will this app become an application on my desktop ?

    • @VijayThapa
      @VijayThapa  3 года назад

      This video will help you
      ruclips.net/video/Sl9UziY2b98/видео.html
      And Thank you so much for following the video. Hope it was helpful and if you think it can help others as well, then please SHARE with your loved ones.
      Best Wishes!

  • @sethumrathnayake4920
    @sethumrathnayake4920 3 года назад +1

    Bro I love u

    • @VijayThapa
      @VijayThapa  3 года назад

      Thank You Bro.
      I hope the tutorial was helpful to you.
      And also if you think the tutorials can be helpful to your loved ones, then don't forget to SHARE it with them.
      So that they can also learn Software Development for FREE and it also helps this channel to grow.
      Thanks and Regards!

    • @sethumrathnayake4920
      @sethumrathnayake4920 3 года назад

      @@VijayThapa It was very helpful and yes I will share this with my friends. Also how do you select the songs in a way they play in a series without selecting them individually.

  • @mrChecker1337
    @mrChecker1337 5 лет назад

    DL SOURCE ???

  • @chasered
    @chasered 3 года назад

    legend

    • @VijayThapa
      @VijayThapa  3 года назад

      Thank You So Much.
      I'm really glad that the tutorial was helpful to you.

  • @roshelfernando9550
    @roshelfernando9550 2 года назад

    windows media player is not adding to the toolbox.What is the error?

    • @VijayThapa
      @VijayThapa  2 года назад +1

      Which version of Visual Studio are you using?

    • @roshelfernando9550
      @roshelfernando9550 2 года назад

      @@VijayThapa
      Microsoft Visual Studio Community 2019
      Version 16.10.4

    • @mukundbakshi3083
      @mukundbakshi3083 Год назад

      @@VijayThapa which version do we need. I am using 2019.

    • @VijayThapa
      @VijayThapa  Год назад

      @@mukundbakshi3083 It should work.

  • @deveshsolanki8875
    @deveshsolanki8875 3 года назад +1

    👌👌👌👌👌👌⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️⭐️

    • @VijayThapa
      @VijayThapa  3 года назад

      Thank You So Much @Devesh.
      😊

  • @auoJPNiemvuicuocsong
    @auoJPNiemvuicuocsong 4 года назад +1

    I like

    • @VijayThapa
      @VijayThapa  4 года назад +1

      Thank You So Much.
      And if think the tutorial was helpful and can help others as well, then don't forget to SHARE it with your loved ones. So that they can also learn Software Development for FREE.
      Best Wishes!

  • @4timgad
    @4timgad 5 лет назад +1

    Plise i nid to Learn crestal reports

    • @VijayThapa
      @VijayThapa  5 лет назад +1

      Will try to make it ASAP, Sami.

  • @babasahebsukale365
    @babasahebsukale365 5 лет назад

    sir please share the coding

    • @VijayThapa
      @VijayThapa  5 лет назад +1

      You can get the source code in the link below
      github.com/vijaythapa333/simple-music-player-app-in-c-sharp

    • @babasahebsukale365
      @babasahebsukale365 5 лет назад

      @@VijayThapa thank you sir

    • @AhmadShah-wd3yy
      @AhmadShah-wd3yy 5 лет назад

      sir there is problem of path sir what should i do. The path is not come in my C#. kindly reply to me sir. it's a humble request to you. thanks!

  • @metlebmeherremli687
    @metlebmeherremli687 2 года назад +2

    thank you

    • @VijayThapa
      @VijayThapa  2 года назад

      You're welcome!
      Hope the tutorial was helpful to you.