JumpyNET Posted July 19, 2005 Posted July 19, 2005 Hello! How can read for example the first three bytes of the last 128 bytes of an mp3 file? :confused: I'm using VB2005 Beta2 Quote
JumpyNET Posted July 19, 2005 Author Posted July 19, 2005 I found the answer my self. Dim fs As New System.IO.FileStream("C:\Test.mp3", System.IO.FileMode.Open, System.IO.FileAccess.Read) Dim r As New System.IO.BinaryReader(fs) fs.Seek(fs.Length - 128, IO.SeekOrigin.Current) MsgBox(r.ReadChars(3)) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.