[.NET] 撥放音樂

看板Visual_Basic作者 (nothing)時間20年前 (2005/11/10 19:41), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串1/2 (看更多)
在網路上有找到用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
可以試試MCI指令的
11/11 00:35, 1F
文章代碼(AID): #13Sp7Qx0 (Visual_Basic)
討論串 (同標題文章)
以下文章回應了本文
完整討論串 (本文為第 1 之 2 篇):
1
1
文章代碼(AID): #13Sp7Qx0 (Visual_Basic)