[.NET] 撥放音樂
在網路上有找到用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
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 163.25.118.14
推
11/11 00:35, , 1F
11/11 00:35, 1F
討論串 (同標題文章)
Visual_Basic 近期熱門文章
PTT數位生活區 即時熱門文章