Question:

How do i play all items from a folder with windows media player control in visual basic 6?

by  |  earlier

0 LIKES UnLike

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:

   Report

1 ANSWERS


  1. You did not actually make a media player, you are using the existing "WindowsMediaPlayer" controls to play a file, which is plain pointless.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.