Mediaplayer and ID3-Tags in a vb.net WinApp
WMPTalk.com Forum Index WMPTalk.com
Discuss Windows Media Player
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web wmptalk.com
Mediaplayer and ID3-Tags in a vb.net WinApp

 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK
Author Message
Christoph Schuster
Guest





Posted: Mon Oct 11, 2004 3:33 pm    Post subject: Mediaplayer and ID3-Tags in a vb.net WinApp Reply with quote

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

Back to top
 
Post new topic   Reply to topic    WMPTalk.com Forum Index -> SDK All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Microsoft Office Forum New Topics
Powered by phpBB