paste text to program or field?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • 78

    paste text to program or field?

    is there any way I can make my vb.net app paste data to a program or desktop
    field?

    78


  • Herfried K. Wagner [MVP]

    #2
    Re: paste text to program or field?

    * "78" <78@78.78> scripsit:[color=blue]
    > is there any way I can make my vb.net app paste data to a program or desktop
    > field?[/color]

    Take a look at 'SendKeys.Send' and/or p/invoke on the 'SendInput' function.

    --
    M S Herfried K. Wagner
    M V P <URL:http://dotnet.mvps.org/>
    V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

    Comment

    • 78

      #3
      Re: paste text to program or field?

      Thanks, I have done that as I'm working on a hotkey application.

      Looks like I'll have to figure out hotkey registration and calls to the
      windows API to achieve my objective which is to paste strings to the
      Operating System.

      Any suggestions?

      78

      "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
      news:2pccosFis9 5kU2@uni-berlin.de...[color=blue]
      > * "78" <78@78.78> scripsit:[color=green]
      > > is there any way I can make my vb.net app paste data to a program or[/color][/color]
      desktop[color=blue][color=green]
      > > field?[/color]
      >
      > Take a look at 'SendKeys.Send' and/or p/invoke on the 'SendInput'[/color]
      function.[color=blue]
      >
      > --
      > M S Herfried K. Wagner
      > M V P <URL:http://dotnet.mvps.org/>
      > V B <URL:http://dotnet.mvps.org/dotnet/faqs/>[/color]


      Comment

      Working...