Delete and return keys not working in Visual Studio 2005
I had some strange issues on my laptop with Visual Studio 2005 - the delete and return keys didn't work, which made it somewhat tricky to write code. I even resorted to copy and pasting a new line when writing code, which as you can imagine wasn't very productive.
After much investigation, I solved the problem. I believe it started because I had previously installed an early beta of Visual C# Express, and there were still registry entries and Application Data left over even though I'd uninstalled. What this meant was I couldn't save any VS2005 settings, and this in turn was causing the editor problems.
My solution was:
- Delete any registry enries to do with Visual C# Express
- Delete any directories in My Documents related to either "Visual Studio" or "Visual Studio 2005" (obviously be careful with this if you've got any code you want to keep in here)
- Delete the contents of C:\Documents and Settings\<* user *>\Application Data\Microsoft\VisualStudio\8.0
- In VS2005, go to the Tools -> Import and Export settings… menu and Reset all settings
Other people appear to have had the same problem, but caused by something to do with Auto-hiding of windows capturing the focus when it shouldn't.
Some useful links that might help you if you're experiencing this:
- Tabs, Backspace, Delete and other commands not working in the editor - https://blogs.msdn.com/vseditor/archive/2005/05/12/417011.aspx (this one didn't help me but seems related)
- Workarounds for "FDBK23483:Keyboard stops responding - some keys only" - https://lab.msdn.microsoft.com/ProductFeedback/ViewWorkaround.aspx?FeedbackID=FDBK23483
- Can't reset Visual Studio Settings - https://blogs.clearscreen.com/dtax/archive/2005/11/21/2568.aspx - this was the key for me, to delete the Application Data and then recreate them using
Comments
Anonymous
December 21, 2005
I can get the same symptoms out of VS 2005 Standard if I flip back and forth between Design and Source modes on an .aspx page with lots of controls too many times. Shutting down the IDE and restarting clears the effect for me. It's a very strange behavior, and I first spent some time peering into my keyboard thinking that a foreign object (read: old bits of lunch) was holding down an Alt key or something.Anonymous
April 17, 2006
Kelly,
I just came across this post and I was wondering if you are still encountering this problem when switching back and forth from Design and Source view. If so, I'd be interested in investigating it further. If you could email me at seanla @ microsoft . com, we can arrange to do a LiveMeeting to look into this further.
Thanks,
SeanAnonymous
July 28, 2006
Thanks for the post, was usefulAnonymous
August 18, 2006
Lately my Visual Studio 2005 is been having a few issues, the keyboard only response the space bar, everyAnonymous
November 16, 2007
I have this issue in MS VS2005 SP1 any time I click Design on a specific form in my project. It's not even a very large form either (though it was upgraded from a 2003 project). Soon as I click on Design, it kills the keyboard and Design view never comes up. It's hosed from there and I have to delete all of those files to get it working again.Anonymous
September 28, 2010
thanks , this happened 2 times for me with visual studio 2005, i reinstalled it again but it didnt work ,i reset all settings ,so it works fine now thanks