

- #HOW TO MAKE WINDOWS MEDIA PLAYER DEFAULT FOR MP3 HOW TO#
- #HOW TO MAKE WINDOWS MEDIA PLAYER DEFAULT FOR MP3 FULL#
- #HOW TO MAKE WINDOWS MEDIA PLAYER DEFAULT FOR MP3 CODE#
So write the above one-line code and this one-line code what is doing is it’s whatever file or whatever name you will choose in your list box it will copy that list or the path of that file into your window media player. Then double click on listbox and paste the below codeĪxWindowsMediaPlayer1.URL = paths ĪxWindowsMediaPlayre1 it is the name of the media player which I used in my application for making mp3 player Click the custom button and under choose default media player, check the windows media player button and click ok. Then I use for loop to add the songs in the listbox Click start/all programmes/set programme access and defaults.
#HOW TO MAKE WINDOWS MEDIA PLAYER DEFAULT FOR MP3 FULL#
And save the full path of the file in the path variable by using the below statement

OpenFile.ShowDialog() = .OK so save the name of theįile in a files = openFile.SafeFileNames įiles variable which we declared in the top. This code is used for the multiple files section OpenFileDialog openFile=new OpenFileDialog() įirst, i declare the openFileDialog for opening the dialogbox for selection files from the drive. Once you have done the designing part just double click on choose file button.įirst of all, declare two global variables which are a string array type The button is using for choosing the playlist and the listbox will show the playlist of the songs and when you select any one song from the listbox it should play in the windows media player. Make Add to Windows Media Player List default for mp3.
#HOW TO MAKE WINDOWS MEDIA PLAYER DEFAULT FOR MP3 HOW TO#
Then I take a button from the toolbox for choosing those files so the text of the button I set choose file The immediate cause of the how to make media player default error is a failure to correctly. I will use a list box from the toolbox so I will drag and drop the listbox for choosing the list of the mp3 files When you click on choose items a new window will be open in that window click on COM Components tab, select windows media player, and press okĪs you can see below the windows media player is loaded in the toolboxĭrag the windows media player and just drop on the form and set the alignment of the player If you do not have the windows media player items in your toolbox for that simply right in the toolbox area and click on choose item When you click ok the below interface will be open Then select windows form application and set a name as you want and press ok

Launch VLC, go to Media > Convert/Save, or simply press the shortcut keys Ctrl + R. Not only is it a free and powerful media player that can decode and play M4A music as well as almost all multimedia files, but it allows you to convert M4A to MP3 as well. However, I recommend the acclaimed VLC Media Player. To be honest, your coffee is supposed to be cold after you go through the whole process to make Windows Media Player convert M4A to MP3, even some online audio converters will do a better job than Windows Media Player.
