东京少女 下载:在VB中如何添加背景音乐?

来源:百度文库 编辑:高考问答 时间:2024/04/30 12:09: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