无尘喷漆房图片:在VB中如何添加背景音乐?

来源:百度文库 编辑:中科新闻网 时间:2024/10/02 17:01:46

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