Print Page | Close Window

Bug: Ping sound in custum control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2037
Printed Date: 29 September 2024 at 10:23pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug: Ping sound in custum control
Posted By: moskito66
Subject: Bug: Ping sound in custum control
Date Posted: 26 March 2005 at 6:09pm

when using a vb TextBox as a custum control and hitting return key the windows xp ping sound is played




Replies:
Posted By: gshawn
Date Posted: 26 March 2005 at 6:52pm

Private Sub Text1_KeyPress(KeyAscii As Integer) 
   If KeyAscii = vbKeyReturn Then
      KeyAscii = 0
   End If
End Sub



Posted By: moskito66
Date Posted: 27 March 2005 at 10:56am
ok that unproductive code did it !  


Posted By: gshawn
Date Posted: 27 March 2005 at 12:52pm

unproductive code?

this is a very widely-known problem with VB, it has nothing to do with CommandBars... if you had taken 30 seconds to do a simple search in Google you would have found out the same.

http://groups-beta.google.com/groups?q=textbox+beep+vb - http://groups-beta.google.com/groups?q=textbox+beep+vb



Posted By: moskito66
Date Posted: 27 March 2005 at 3:12pm

excuse me,

unproductive in this context means you are force to produce some kind of code that isn't necessary.

the problem maybe the lifecycle of CommandBar, or CommandBar reintroduce it back into VB6? I don't know CommandBar well enough I'm just a the component consumer, so this problem should not be visible to the consumer !

but I also think that CommandBar has its potential in some next version...  

 

 



Posted By: Devin Dazzle
Date Posted: 28 March 2005 at 8:45am
It is actually not a bug in the commandbars as gshawn pointed out. This is a problem that Visual Basic has had in a long time. So don't blame the commandbars. I do not have this problem.

-------------
Best Regards
Kim Pedersen, vbCode Magician
http://www.vbcodemagician.dk


Posted By: moskito66
Date Posted: 28 March 2005 at 2:59pm

I give you a better reason to blame CommandBar:

http://forum.codejock.com/forum_posts.asp?TID=1998&PN=1 - http://forum.codejock.com/forum_posts.asp?TID=1998&P N=1

 

 




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net