1
Answer

KeyDown event stops firing when holding down arrow key and pressing the shift key.

Photo of PJ Martins

PJ Martins

13y
2.6k
1
I have a windows form on which I'm capturing and handling the keydown event for arrow keys. It works perfectly, however while holding down, if I press shift, the keydown event stops firing for the arrows. If I release and repress the arrow keys while still holding shift it works fine and modifier does show shift key as being pressed. What causes the initial shift press to stop the keydown from firing for the arrow keys and is there a way around it?

Answers (1)

0
Photo of naura pax
NA 1.9k 64.8k 15y

The dot framework setup can be placed in the cd itself.
You should cofigure your application to check for appropriate version of dot net framework in the client machine and if it is not there the application itself should install in the target machine..
That would not take any time at all, it will certainly work.
Accepted
0
Photo of kannan
NA 47 0 15y

Wpf can run in any windows os. I had released two products on wpf, running in xp. So check that. wpf require framework 3.X. Thatz it. No matter what platform that is!!! Cheers.
0
Photo of kannan
NA 47 0 15y

Yes, you are right! But my target platform is windows only. So no issues on that. Regarding our yesterday's conversation, i had convinced my client, for installing .net framework.  And installation of the framework is a silent instalation, with no restart. So problem solved.   Check this article.
http://msdn.microsoft.com/en-us/library/cc160716.aspx
Thank you for saving my life...      
0
Photo of naura pax
NA 1.9k 64.8k 15y

Hi,
You could be facing one problem. I had read somewhere in an article on this site, that wpf applications work only on vista... so OS can also be an issue.
Please cross check on this topic as well, and if it turns it out that way you should switch to winforms for your application.
0
Photo of kannan
NA 47 0 15y

Yes! Thank you! I will work on it.
 
0
Photo of kannan
NA 47 0 15y

This way will work for a single client. It is a redistrutable application. The application is about the exam, The trainer will provide a cd contails the exam module to the trainee, and the trainee is going to execute the application, after finishing the exam the report will send to the trainer as email. So the application is one time use, and largly distributed. It is not possible to convince all.
I know web application is perfect for this requirement. But client need it to be a stand alone. What would we do??? Any how we have to do it. But my question is how???
Thanks for the quick reply.
0
Photo of naura pax
NA 1.9k 64.8k 15y

You need to talk to client that the framework is free and is pretty much like any update they receive for their windows operating system and it is not going to affect their machine in a negative way.
Apart from that framework will pave way for them to use applications built on latest technology in future.
I hope they will understand.
Unquote : Thanks for accepting but you need to select 'do you like answer' only if it helped you :)
0
Photo of kannan
NA 47 0 15y

Yes, we can do. But the comitiment with the client is that the application will run without any instalation. That is why i am looking for the solution. Please help me.
Thanks in advance.
0
Photo of naura pax
NA 1.9k 64.8k 15y

Dot net framework is free as far as I know, so you can include dot framework setup in the cd.
It will not be a violation of license or copyright.