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. Visual Basic
  4. Send Keys from keyboard

Send Keys from keyboard

Scheduled Pinned Locked Moved Visual Basic
3 Posts 3 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

    suppose in a string var ="abc" values i want that Keyboard automatically type this string in TextBox plz tell me how its possible :confused:

    D T 2 Replies Last reply
    0
    • S shaina2231

      suppose in a string var ="abc" values i want that Keyboard automatically type this string in TextBox plz tell me how its possible :confused:

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

      Don't cross post.

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

      1 Reply Last reply
      0
      • S shaina2231

        suppose in a string var ="abc" values i want that Keyboard automatically type this string in TextBox plz tell me how its possible :confused:

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

        Your question seems a little confused. To put the value of the variable var into a textbox programatically just set the text property e,g, myTextbox.Text = var. If your question is about sending keypresses to another application outside of your control you can use the SendMessage[^] API to programatically do anything to any identified window. That is not simple though.

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

        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