I have a form with the WMPLIB embedded in the form. I cycle through music files ripped with WMP and some of them I get a media error, but it doesn't indicate what the error is. How do I find out what is wrong with the rip? I am using VB.NET. I use:

selectedMedia1 = Player1.newMedia(filename)
Player1.currentMedia = selectedMedia1

to load the file. Most of the files play fine, but some do not. I have set an error trap sub but how do I tell what is wrong with the file?

>I get a media error, but it doesn't indicate what the error is. How do I find out what is wrong with the rip?

Did you got any error/exception?