Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. keystroke not working in device application

keystroke not working in device application

Scheduled Pinned Locked Moved Mobile
csharpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    yrishi
    wrote on last edited by
    #1

    Hi, is there any support for "SendKeys.Send" in pocket pc application using .net 2.0?

    S 1 Reply Last reply
    0
    • Y yrishi

      Hi, is there any support for "SendKeys.Send" in pocket pc application using .net 2.0?

      S Offline
      S Offline
      sivaddrahcir
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups