0

I was making a app to store music in a libary and get mp3 ID3 tags but all the code snippets ive found are really complicated, i tried using the my.computer.filesystem.getfileinfo to add the tags to a box

Dim tags As ObjectModel.ReadOnlyCollection(Of String) = My.Computer.FileSystem.GetFileinfo(my.computer.filesystem.getfiles("C:\Program files\TuNeAgE music"))
        Dim Foundtags(tags.Count - 1) As String
        tags.CopyTo(Foundtags, 0)
        tagbx.Items.AddRange(Foundtags)

but i get an error with My.Computer.FileSystem.GetFileinfo(my.computer.filesystem.getfiles("C:\Program files\TuNeAgE music"))does anyone know how to get the info of all the files in a directory into a box OR get the ID3 tags of all music files in a directory and put them in a box (simply)

2
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by scrypt3r
0

also im using this to put the files in a box

Dim ListOfSongs As ObjectModel.ReadOnlyCollection(Of String) = My.Computer.FileSystem.GetFiles("C:\Program files\TuNeAgE Music")


        Dim FoundFiles(ListOfSongs.Count - 1) As String

        ListOfSongs.CopyTo(FoundFiles, 0)
        Songbx.Items.AddRange(FoundFiles)
        Addsong.Visible = True

this adds also there path e.g. C:\folder\file.mp3
i want it just so it says file.mp3

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.