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. General Programming
  3. C#
  4. Send Keys from keyboard

Send Keys from keyboard

Scheduled Pinned Locked Moved C#
help
4 Posts 4 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.
  • S Offline
    S Offline
    shaina2231
    wrote on last edited by
    #1

    :confused:i hv senairo sucha as in a string variable contain some characters i want that using some function keyboard automatically typethis string in Textbox same as string variable contain plz help me how this possible

    D T X 3 Replies Last reply
    0
    • S shaina2231

      :confused:i hv senairo sucha as in a string variable contain some characters i want that using some function keyboard automatically typethis string in Textbox same as string variable contain plz help me how this possible

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      YourTextBox.Text = YourStringVariable;

      It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD

      1 Reply Last reply
      0
      • S shaina2231

        :confused:i hv senairo sucha as in a string variable contain some characters i want that using some function keyboard automatically typethis string in Textbox same as string variable contain plz help me how this possible

        T Offline
        T Offline
        The Man from U N C L E
        wrote on last edited by
        #3

        You working in C# or VB? Don't cross post I'm only answering once[^]

        If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) www.JacksonSoft.co.uk

        1 Reply Last reply
        0
        • S shaina2231

          :confused:i hv senairo sucha as in a string variable contain some characters i want that using some function keyboard automatically typethis string in Textbox same as string variable contain plz help me how this possible

          X Offline
          X Offline
          Xelalem
          wrote on last edited by
          #4

          private void SomeFunction() { string var = "your string"; yourtextbox.focus(); SendKeys.Send(var); }

          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