|
-
Nov 18th, 2002, 05:19 PM
#1
Thread Starter
Sleep mode
disabling beep sound when clicking Enter
once again hi
how can I disable beep sound when clicking Enter??
thanx
-
Nov 18th, 2002, 05:20 PM
#2
-= B u g S l a y e r =-
Re: disabling beep sound when clicking Enter
Originally posted by pirate
once again hi
how can I disable beep sound when clicking Enter??
thanx
what do you mean?
-
Nov 18th, 2002, 05:25 PM
#3
Thread Starter
Sleep mode
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
-
Nov 18th, 2002, 05:39 PM
#4
-= B u g S l a y e r =-
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
-
Nov 18th, 2002, 05:39 PM
#5
-= B u g S l a y e r =-
if you are refferring to the site in my sig, its not mine
-
Nov 18th, 2002, 06:50 PM
#6
Thread Starter
Sleep mode
this will never work in VB.NET.
-
Nov 19th, 2002, 05:44 PM
#7
Thread Starter
Sleep mode
so now it's resolved
for benefit of others for benefit of others
-
Nov 19th, 2002, 06:33 PM
#8
-= B u g S l a y e r =-
looks very much like my sample... only they trap all keypresses for the entire form...
-
Jan 15th, 2007, 08:38 PM
#9
Lively Member
Re: disabling beep sound when clicking Enter
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...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|