作者h2897 (Howard)
看板Visual_Basic
标题Re: [.NET] 播放清单
时间Fri Sep 4 22:31:08 2009
经过测试後找出来了
在vb.net的.com元件(windows media player) 中
本身对於在处理正版CD的部份 会利用自己的呼叫方法
而小弟之前是利用一首一首抓取cda路径
将其加到後端的播放列表 音乐档是抓的到
但却无法正确的显示其名称与内容资讯
Dim num As Integer
Dim a As Integer
a = 0
For num = 1 To filenum
AxWindowsMediaPlayer.currentPlaylist.appendItem(AxWindowsMediaPlayer.cdromCollection.Item(0).Playlist.Item(a))
a = a + 1
Next
Dim count As Integer
For count = 0 To (filenum - 1)
Me.ListBox1.Items.Add(.currentPlaylist.Item(count).name)
Next
以上。
--
Love filled with unsure tough things...
Be sure to be in lovely life with the person who you want to be with....
http://www.wretch.cc/album/h2897
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.166.216.244