• Recent Posts

  • Meta

  • Tags

    autocomplete benchmark data cpu cycles directory exists disable beep on enter doevents ebook excel file exists getinputstate gzip high cpu usage intensive task left edge linq mcisendstring microsoft msdn no doevents office open webpage play mp3 play wave right edge scroll textbox shell show icon show notify icon source stop beep on enter system tray text tar textbox text in system tray time consuming tutorials vb.net vb 2008 video visual basic visual basic.net visual basic 2005 visual studio visual studio 2005 ehancements windows mci
  • Disable that Beep while pressing the “Enter/Return” key in a Textbox VB5/6

    Tuesday, September 11th, 2007

     

     
    'VB 5.0/6.0
    'Copy and Paste this code in your Textbox_KeyPress() event.
        
        If KeyAscii = 13 Then  
      
            KeyAscii = 0   
      
        End If
     

     
    Popularity: 19% [?]

    Popularity: 19% [?]

    Disable ‘Beep’ in Textbox control when pressing the ‘Enter’ Key - .NET 05/08 [Method #1]

    Monday, June 18th, 2007

     

     

      'This code will disable the 'Beeping' you get when you press the 'Enter' key in a Textbox control. This code needs to go into the Textbox_KeyDown' event.

       

    If e.KeyCode = Keys.Enter Then

      

        e.SuppressKeyPress = True

      

    End If
     

     
    Popularity: 14% [?]

    Popularity: 14% [?]