Re: [.NET] 播放清單

看板Visual_Basic作者 (Howard)時間16年前 (2009/09/04 22:31), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
經過測試後找出來了 在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
文章代碼(AID): #1AeIImrf (Visual_Basic)
文章代碼(AID): #1AeIImrf (Visual_Basic)