Hi, in my Access Database, I have welcome sounds that play when one opens the database. However, I would like to add a button that one can click so as to mute all sounds if they wish to.
The code that plays the sound is as follows:
Dim iRetValue As Long
iRetValue = sndplaysound(CurrentProject.Path & "\Welcome.wav", SND_ASYNC)
Is there a way that I can add a button that can edit this code, so that it can maybe make the code a comment by adding: ' ?
Or is there a better way to stop these sounds?
Thank you, looking forward to your reply
The code that plays the sound is as follows:
Dim iRetValue As Long
iRetValue = sndplaysound(CurrentProject.Path & "\Welcome.wav", SND_ASYNC)
Is there a way that I can add a button that can edit this code, so that it can maybe make the code a comment by adding: ' ?
Or is there a better way to stop these sounds?
Thank you, looking forward to your reply