MsgBox in VB6
MsgBox in VB6
(OP)
Hello,
I would like to know if it's possible to take off the alert sound that a msgbox makes in VB???
I would like to know if it's possible to take off the alert sound that a msgbox makes in VB???
Best regards, Carlos Cardoso





RE: MsgBox in VB6
RE: MsgBox in VB6
Heres the code:
prompt$ = "Put Message here"
reply = MsgBox(prompt$, vbQuestion, "Put title here")
Justin Dean,PE
RE: MsgBox in VB6
There's a key on the registry where you can find out about the sounds
HKEY_CURRENT_USER\Schemes\Apps\.Default
And in there most likely is the following the one that controls that sound:
HKEY_CURRENT_USER\Schemes\Apps\.Default\SystemQuestion\.Current
you can modify it on and off every time that you use your application. Well, is just and idea.