Re: [.NET] 撥放音樂

看板Visual_Basic作者 (兔)時間20年前 (2005/11/10 20:17), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《cafe444 (nothing)》之銘言: : 在網路上有找到用sndPlaySound : 去撥放WAV : 不過去執行時都會有錯誤 : Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" : (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long : Private Sub Label2_Click() : IntRet = sndPlaySound("c:\test.wav", &H1) : End Sub : 像是這樣 : 不知道有什麼方式可以撥放音樂 : 找了很多書都沒有提到這部分@@"? : 請教各位m(_ _)m 恩...如果你不介意的話... Process.Start("c:\test.wav") 這樣也可以撥音樂,只是會開個視窗出來 ^^" -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.184.51.8
文章代碼(AID): #13SpfO3V (Visual_Basic)
討論串 (同標題文章)
本文引述了以下文章的的內容:
1
1
完整討論串 (本文為第 2 之 2 篇):
1
1
文章代碼(AID): #13SpfO3V (Visual_Basic)