once again hi :D
how can I disable beep sound when clicking Enter??
thanx
Printable View
once again hi :D
how can I disable beep sound when clicking Enter??
thanx
what do you mean?Quote:
Originally posted by pirate
once again hi :D
how can I disable beep sound when clicking Enter??
thanx
I'm using W XP .When I click Enter in the combobox after running the project , it sends beep sound.
by the way , you have a nice site;)
try something like this
VB Code:
Private Sub Combo1_KeyPress(KeyAscii As Integer) If KeyAscii = vbKeyReturn Then KeyAscii = 0 Exit Sub End If End Sub
works for vs6.0
:)
if you are refferring to the site in my sig, its not mine ;)
this will never work in VB.NET.:p
so now it's resolved
for benefit of others for benefit of others :D
looks very much like my sample... only they trap all keypresses for the entire form... :)
Just FYI, DevComponents has a custom combobox control sold with their DotNetBar suite that has a "PreventEnterBeep" property. I haven't used it yet, but I can only assume it works...