武侠q传官方网站:在VB中如何添加背景音乐?
来源:百度文库 编辑:杭州交通信息网 时间:2024/05/09 05:17:55
Private Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Private Sub Form_Load()
Call sndPlaySound("c:\test.wav", 1)
End Sub