index > Installing and Registering Visual Studio Express Editions > enter key

enter key

Does anyone know how to get the enter key working in vb 2005 beta 2 ????

i'm working on a browser and i want it so it will navigate when pressing enter but nothing works.
CyberOps
is there anyone who can help me with this ????
CyberOps
CyberOps -

The easiest way to do this is to use an event handler on the KeyDown event.  You can find this in the Properties Window, by clicking on the lightning bolt at the top of the window.  If you have your form selected in the WinForms designer, this will show all the events that are available on the form to hook an event handler up to.  Find the KeyDown event in this list and double-click the region beside it to create the event handler in your code.  Then add the following inside the newly created method:


If e.KeyCode = Keys.Enter Then

   MessageBox.Show("Hello")

End If


 



Thanks,
Luke Hoban
Visual C# IDE Program Manager

Luke Hoban
I tried doing that but it wont work any idea why ?? am i something missing or do i have to turn something else on ? otherkeys however do work but the enter key doesn't
CyberOps
Have a look at the answer to the following post:

http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=6011


VS Code Analysis Team | My Blog: http://davidkean.net | FxCop Blog: http://blogs.msdn.com/FxCop
David M. Kean
reply 5

You can use google to search for other answers

 

More Articles

• Can't run page in IE but runs in firefox.
• Menu Item Access Key (underline) won't display
• Install of VB Express hangs
• Error message on connect to SQLEXPRESS
• which express edition are compatible?
• SQL Server Express Installation Problem
• Club Shepherd yyyy
• Numbers only in a TextBox
• System.ServiceProcess class not available in C# Express ?
• Unable to reach registration site
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• What happend to vector file? All of the
• Installing Visual Web Developer problem
• I can't start SQL server
• missing features?
• Problem in the Installation VB 2005 Beta 2
• Unable to reach registration site
• Wrong version of windows found
• beta 2 expired
• Publish V C# 2005 with SQL Server Expres
• Using SQL SVR 2000 with VS2005 Express
• VWD2005Exp Toooo Easy to Close
• Run External Program
• IIS/Cassini works locally but could not
• Repeater Component for VB Studio Express
• XML Documentation

Hot Articles

• How to Connect to Oracle in VCS?
• Error 1402 Could not open Key?
• Can't get activation key for VB Express
• Configuration/Settings Files in Assemblies
• My.Settings Not working anymore since up
• system hangs?
• VWD Personal Web Starter Kit + SQL Serve
• Third Party C# Books ?
• Why MS SQL 2005 Express gets installed w
• Need setup help for C++ Express HELP!
• "How do I" pages for VB 2005 e
• Visual C++ 2005 Express and Platform SDK
• Visual Studio installed templates missing
• Problem Encountered While Installing Set
• Can't install VC++ Express from .iso on CD

Recommend Articles

• Visual C++ express install problem
• Cannot uninstal visual web developer 200
• install/uninstall problem resolved - tip
• changes not recognized till exit and reo
• Encrypting text, 15 characters max
• I do not want SP2. I do not want SP2.
• XSLT and IntelliSense
• Problen with uninstallled Visual Basic 2
• Sourcesafe and Express Editions??
• C1083: Cannot open windows.h
• activex control in C#
• Registration Key
• Installing visual studio express problems
• Long Loop behind Button causing problems
• Do the express edition products need to