M
M Skabialka
When I use this code on a Close the Database button, it beeps loudly, but I
don't see where it is telling it to beep. Users HATE the beep.
Dim Msg, Style, Title, Help, Ctxt, Response, MyString
Msg = "Do you want to close Access and this Database?" ' Define
message.
Style = vbYesNo + vbCritical + vbDefaultButton1 ' Define buttons.
Title = "Quit Application" ' Define title.
Help = "DEMO.HLP" ' Define Help file.
Ctxt = 1000 ' Define topic
' context.
' Display message.
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then ' User chose Yes.
DoCmd.Quit
End If
I took out vbCritical and it still beeps, though softer. What is calling
the beep command?
don't see where it is telling it to beep. Users HATE the beep.
Dim Msg, Style, Title, Help, Ctxt, Response, MyString
Msg = "Do you want to close Access and this Database?" ' Define
message.
Style = vbYesNo + vbCritical + vbDefaultButton1 ' Define buttons.
Title = "Quit Application" ' Define title.
Help = "DEMO.HLP" ' Define Help file.
Ctxt = 1000 ' Define topic
' context.
' Display message.
Response = MsgBox(Msg, Style, Title, Help, Ctxt)
If Response = vbYes Then ' User chose Yes.
DoCmd.Quit
End If
I took out vbCritical and it still beeps, though softer. What is calling
the beep command?