H Harry J. Smith Jul 13, 2004 #1 Is there a way to disable sounds/beeper in a text box? In particular I don't want to hear a beep when I hit the PgUp key in an empty text box. -Harry
Is there a way to disable sounds/beeper in a text box? In particular I don't want to hear a beep when I hit the PgUp key in an empty text box. -Harry
G Guest Oct 5, 2004 #2 I face to the same problem in VB .net. Below KB article does resolve the problem in VB but not VB .net. Is there anyone can help? How To Disable the ENTER Key BEEP in a VB Text Box http://support.microsoft.com/default.aspx?scid=kb;en-us;140882
I face to the same problem in VB .net. Below KB article does resolve the problem in VB but not VB .net. Is there anyone can help? How To Disable the ENTER Key BEEP in a VB Text Box http://support.microsoft.com/default.aspx?scid=kb;en-us;140882
C Chris Jobson Oct 5, 2004 #3 The following code works for me to disable the ENTER beep in a text box (it's in C# but should translate to VB.NET easily enough): private void textBox2_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar == '\r') e.Handled = true; } Chris Jobson
The following code works for me to disable the ENTER beep in a text box (it's in C# but should translate to VB.NET easily enough): private void textBox2_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { if (e.KeyChar == '\r') e.Handled = true; } Chris Jobson