My shift keys have stopped working suddenly in Visual studio. What could be the reason? All other keys are working fine and i’m using a new keyboard! How to cross check for keys working? It Works fine with the notepad MS word etc I want to have ( in place of 9. When i press A it occurs Q. When i press z it Occurs A,When i press . it occurs : It worked fine after restarting the visual studio.What is the reason for this.
Dim Whole As String = lstMain.SelectedItem.ToString
Dim pid = Whole.Substring(Whole.LastIndexOf9
Catch ex As Exception
A similar thing has happened to me, and it was related to the contol keys, as mentioned in several comments. It stopped happening to me, which makes me think that some update or security patch fixed it on my system. Usually I could get it to stop happening by pressing one or the other of the control keys, sometimes I had to restart Visual Studio, and sometimes I had to restart my computer.
PS – I haven’t had this problem for at least 2-3 months, so make sure you have all Windows 7 updates.
PPS – Sometimes pressing the shift keys several times makes the problem go away, other times the control key seems to be the problem. I have had it happen to me again, but not nearly as often as before.