keystroke not working in device application
-
I haven't tried to do this before, so I did a quick search to see what I could find. Did you have a problem with any of the resources out there or did you just not find any? The following thread has some example code showing how to wrap keybd_event (you have to do some interop), and there is another suggestion to check out the OpenNETCF site (look for Smart Device Framework - it may have SendKeys): http://social.msdn.microsoft.com/Forums/en-US/netfxcompact/thread/d5d6097e-f221-452e-8b65-5659e2c9faaa[^] PInvoke.net has some documentation that may be helpful: http://pinvoke.net/default.aspx/user32.keybd_event[^] Note: I noticed that one example is importing coredll.dll while another is importing user32.dll. I'm not sure why.
Blog: http://windowsclientdevelopment.spaces.live.com FAQs: http://windowspresentationfoundation.wikispaces.com http://windowsmobile.wikispaces.com http://vsto.wikispaces.com