Extract the ID3 Tag from an mp3 File
The "ID3" Tag is attached to a lot of mp3 files these days, and contains the song, artist & album names, along with the year the song was released and the genre. At it happens, getting the data is VERY simple. This code can help anyone who wishes to write a front-end that controls/manages mp3 files. Note: The genre no. is actually the genre index from a list of about 80 pre-defined genres. I didn't have the nerves to create a genre list, so you'll have to it yourselves... More data is available at www.id3.org
Instructions: Copy the declarations and code below and paste directly into your VB project.