Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading ID3v2 Tags withVB.Net

Status
Not open for further replies.

Shake412

Programmer
Apr 17, 2002
55
0
0
GB
I know there are posts already for doing this in VBA and VB6, but does anyone have any pointers for achieving this in VB.Net I've tried adapting the code quoted in the existing forums and tried the streamreader and the binary reader but with limited success.

With the Binary reader, I thought this would work but it only reads the first 4 characters (ie "ID3")

Dim st As Stream = File.OpenRead(strFile)
Dim br As New BinaryReader(st)

For intLoop As Integer = 1 To 127
strID3 &= br.ReadChars(1)
Next

Am I on the right track here or way off course.

Any help or pointers are very welcome

Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top