In the KeyDown Event:
If e.KeyCode = Keys.Enter Then
Messagebox.Show("Enter key pressed")
end if
More Related Contents:
- Adding numbers using VB.net
- Given the following code what number will the message box display?
- IF 1 MONTH IS INPUT IN TEXTBOX THEN AUTOMATICALLY SET IN DATETIMEPICKER1 AND DATETIMEPIKER2 THE DATE
- VB.NET Join Error Conversion from String is not valid
- Linq to Sql: Multiple left outer joins
- Performance difference between IIf() and If
- Differences Between vbLf, vbCrLf & vbCr Constants
- Webpage works in IE, Chrome and Firefox, but not when using the .NET WebBrowser control
- Ampersand vs plus for concatenating strings in VB.NET [duplicate]
- How to wait until WebBrowser is completely loaded in VB.NET?
- Or versus OrElse
- VB.NET progressbar backgroundworker
- .DrawImage with opacity?
- Convert a string to a datetime
- VB.NET What is the purpose of a class or module?
- no value given for one or more required parameters
- Printing multiple pages using PrintDocument and HasMorePages
- Integer.Parse vs. CInt
- Crossthread operation not valid… – VB.NET
- Run batch file in vb.net?
- loop over all textboxes in a form, including those inside a groupbox
- VB.net Need Text Box to Only Accept Numbers
- Is there an easy way to randomize a list in VB.NET?
- Transparency of picture box
- VB.NET null coalescing operator? [duplicate]
- Open a webpage in the default browser
- When clicking “btnLogin”, my forms decrease in size.
- How do I specify the equivalent of volatile in VB.net?
- Executable directory where application is running from?
- Convert String to Double – VB