sound waves

how do i make a sound wave play on a form load
Who is Participating?
crazymanConnect With a Mentor Commented:
Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

  rvalue = PlaySound("c:\windows\media\office97\chimes.wav", 0, 0)
beratorAuthor Commented:
thanks dude!
All Courses

From novice to tech pro — start learning today.