Sendkeys to target window?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ionphoenix
    New Member
    • Feb 2007
    • 10

    #1

    Sendkeys to target window?

    i would like to know is there a way to send keystrokes to a target window?
    if so please reply me the syntax and a sample. i tried using sendmessage but failed. i need to send a string or a keystroke like 'enter or esc' from the application to an emulator.
  • mafaisal
    New Member
    • Sep 2007
    • 142

    #2
    Hello
    Send key stroke to tab key
    System.Windows. Forms.SendKeys. Send(vbTab)
    or
    System.Windows. Forms.SendKeys. Send("{Tab}")

    is eg


    Originally posted by ionphoenix
    i would like to know is there a way to send keystrokes to a target window?
    if so please reply me the syntax and a sample. i tried using sendmessage but failed. i need to send a string or a keystroke like 'enter or esc' from the application to an emulator.

    Comment

    • ionphoenix
      New Member
      • Feb 2007
      • 10

      #3
      what i meant is sending keys or string or keystrokes to another application..li ke from vb.net appz to an emulator.

      Comment

      Working...