Christoph Schuster
Guest
|
Posted:
Mon Oct 11, 2004 3:33 pm Post subject:
Mediaplayer and ID3-Tags in a vb.net WinApp |
|
|
Hi !
I'm writing a windows application to automatically set the ID3-Tags for
the Soundfiles in my WebShop.
Therefor i'm using an embedded Windows mediaplayer (9) in Windows XP Pro
ger,
with the following Code:
Media = Player.newMedia(File)
Media.setItemInfo("Author", Artist)
Media.setItemInfo("Title", Title)
Media.setItemInfo("Description", Comment)
Media.setItemInfo("Album", RecordLabel)
Media = Nothing
(Private WithEvents Player As AxWMPLib.AxWindowsMediaPlayer)
After approx. 15 Soundfiles i get a System.NullReferenceException in the
Media.setItemInfo("Author", Artist) but Media is a System__ComObject ans
Artist also has a Value.
Please help me.
Thanks
Christoph
|
|