I made a media player in visual basic 6 and i want to play all music from a folder, by simply specifying a folder, and then pushing the play button, i want the player to play all items from the specified folder, full with music. the code i used was:
WindowsMediaPlayer1.URL=text1.text
, and if in the text1 textbox i place a folder, i get an error: Windows Media Player cannot play this type of file. do you want to try anyway?
and if i press Yes, nothing happens. it shoud be another way.
Please, help.
Thanks
Tags: