Check out this code-> http://184.108.40.206/id3vb.zipOriginally Posted by wardemon666
Ok heres the problem. Im pretty much done my VB6 carputer software, but my ID3V1 & ID3V2 doesnt work well.... It sometimes lags when loading titles, and sometimes it returns garbage!
Like, in the title name it would be written " ¥ÜMetallica - Sad But True "
with useless spaces and the first characters are garbage. For the spaces i could just use trim, but for the garbage im not quite sure. I cannot seem to find any good ID3 classes/modules. Could anyone find GOOD code for getting the right info from the tags, and write a condition to use V1 tags if there are no V2 tags available? and if there are no tags available, just use the filename - the extension?
i would code: GetMp3TagfromPath("c:\testsong.mp3") and it would msgbox at the end of the function, the path, the title, and the genre? (thats all i need, i dont care about the other tag junk)
if there is no genre, set the genre as "No Genre", if there is no title, use the file name without the extension.
Thanks to all who help! Ill give a copy of my software to anyone who helps :-)
(i dont plan on distributing!!)
thanks!Originally Posted by reddeath30
I just got it going though, re-wrote lots of logic from scratch. yay... its working really well now though, so im happy!