Re: [.NET] 播放清單
經過測試後找出來了
在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
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):