Stop Ding Sound on pressing enter key in vb.net

Answered Stop Ding Sound on pressing enter key in vb.net

  • 03 Agustus 2012 8:01
     
     

    I am creating a textbox inheriting the default textbox

    I write some code in keypress event like the sample below, sothat user can move to next field by pressing enter key

        SendKeys.Send("{TAB}")

        e.Handled = true

    But Ding sound does not stop

    I tried it in KeyDown event also

    But same results

    I have tried e.suppressKeypress also

    Can anyone help me?

Semua Balasan