Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21205

[RESOLVED] how to play random mp3 files in a folder via VB6

$
0
0
Hello

Suppose I have an app with Command Button ( Command1)

and I have a folder have a lot of songs for example , (Audio)

I want a code when I click on command the songs in folder (Audio) play random ( shuffle )

i tried to make a random play list in windows media player and run it via VB6 using this code , but every time it opens , no shuffle

Code:

WindowsMediaPlayer1.settings.mute = False
WindowsMediaPlayer1.URL = App.Path & "\songs.wpl"

all what I need is playing random play list in VB

Thanks

Viewing all articles
Browse latest Browse all 21205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>