Although the original author's code worked, I wanted a way to read the file
without parsing through each character looking for a certain string.
(I kept his original routines as reference)
I utilized the class structure from InfoTag, which read WMA files, but did it in a way
that would not allow writing back to the file.
So I initially tried to dig into the file and try to read it in blocks.
It wasn't long before I realized the structure was way more complicated than I had
originally thought. I did some digging and found the attached document
"Advanced Systems Format (ASF) Specification" from Microsoft.
Using this as a guide, I built the structures neccessary for each header object.
I spent many weeks developing this and my wife hated that I was always on the 'puter,
but I wanted to finish this. It will read and write the basic tags and I put in a
treeview to display the entire file structure by object.
I'd like to add another flexgrid and read multiple files, but that's for later.
The other thing that I had hoped to accomplish was this:
When using my GotRadio submission, I found that temp files were created with the filename of
the songs played. These were located in the temporary internet directory.
The structure of these files is different than the structure of wma's that I had burned.
I was hoping to be able to learn how to modify the temp files to allow them to be played
by media player, but try as i might, when I converted the temp. file to a wma with the set
structure, media player would not play it.
I'm attaching one of those temp files before and after modifying it.
maybe someone with more knowledge can find the errors of my way
This file came from Planet-Source-Code.com...the home millions of lines of source code
You can view comments on this code/and or vote on it at: http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=68303&lngWId=1
The author may have retained certain copyrights to this code...please observe their request and the law by reviewing all copyright conditions at the above URL.