I'm developing a mediaplayer.There is a listbox acting as filename container. Now I want to select multiple files from openfile commondialog and add those selected files to the listbox. How can I do this?Plz help me to figure this out.

Set the multiselect property of OpenFileDialog to true

OpenFileDialog1.Multiselect = True

After this the user can select more than one file by pressing shift and selecting the files
you can get the names of all selected files by the property FileNames
by writing something like this


Check this link to read more about filedailog properties