MGadAllah Posted November 6, 2006 Share Posted November 6, 2006 Option ExplicitDim WSHShell, n, MyBox, p, itemtype, TitleSet WSHShell = WScript.CreateObject("WScript.Shell")p = "HKEY_CURRENT_USER\Control Panel\Sound\"p = p & "Beep"itemtype = "REG_SZ"n= "No"WSHShell.RegWrite p, n, itemtypeTitle = "System Beeps are now Disabled." & vbCRTitle = Title & "You may need to Log off/Log on" & vbCRMyBox = MsgBox(Title,4096,"Finished") Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.