helloeveryone
Technical User
Is there anyway to make a button, and when I click on it, it makes a sound from a .wav file?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" _
(ByVal lpszSoundName As String, ByVal uFlags As Long) As Long
Public Sub PlayWav(WaveFileName As String)
Dim N As Long
N = sndPlaySound(WaveFileName, 0)
End Sub