看板 Visual_Basic 關於我們 聯絡資訊
在網路上有找到用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
vivimice:可以試試MCI指令的 11/11 00:35