What am I missing here?

  • Thread starter Thread starter Darren
  • Start date Start date
D

Darren

I want to create a temporary playlist which isn't saved to the library.

I am using WMPlayer.currentPlaylist.clear() to clear the playlist which
works fine then I tried to add items to the list using

WMPlayer.currentPlaylist.appendItem("C:\Test.wav")

but it comes up with an error

Form1.vb(906): Value of type 'String' cannot be converted to
'WMPLib.IWMPMedia'.

How do I get round this.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top