How To Create Windows Media Playlist in vb 6.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mschriscs10
    New Member
    • Oct 2012
    • 1

    How To Create Windows Media Playlist in vb 6.0

    gudday all , pls i'm having a problem on how create windowsmediaply er control playlist. i have all amy songs on a folder in app_ path. pls help me, its vb 6.0
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    Are you using a FileListBox or a TextBox ?
    Is it possible to attach your code in Bytes?

    Comment

    • Guido Geurs
      Recognized Expert Contributor
      • Oct 2009
      • 767

      #3
      This is a solution if you work with DirListBox and FileListBox:
      Code:
      Private Sub Dirs_Change()
      '§ put the filelist on the selected dirlist
         On Error GoTo NO_FOLDER
         Files.Path = Dirs.Path
      '§ filter according to the text in the textbox like: ".mp3"
         Files.Pattern = filter.Text
      Exit Sub
      NO_FOLDER:
         MsgBox ("There is an error on reading the folder")
      End Sub

      Comment

      Working...