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. Csharp Set text of a textbox from winforms

Csharp Set text of a textbox from winforms

Scheduled Pinned Locked Moved C#
csharpwinformscomtutorialquestion
3 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.
  • C Offline
    C Offline
    candogu
    wrote on last edited by
    #1

    Hi, can I set the value of a textbox in a webpage from a windows application in my computer? For example, www.aaa.com there is a textbox (I know its variable name and it is constant) when I focus on that textbox, my windows application will appear. I will choose a text from a listbox and it will write the value to the target textbox?? Thanks.

    B 1 Reply Last reply
    0
    • C candogu

      Hi, can I set the value of a textbox in a webpage from a windows application in my computer? For example, www.aaa.com there is a textbox (I know its variable name and it is constant) when I focus on that textbox, my windows application will appear. I will choose a text from a listbox and it will write the value to the target textbox?? Thanks.

      B Offline
      B Offline
      BillWoodruff
      wrote on last edited by
      #2

      Why would you want to do this from a "windows" application (.NET ?): are you attempting to modify somebody else's website ? If you wrote the HTML, implement the solution in HTML which should be pretty simple: implement a way to make a List appear, catch the user's click on an item it, and so forth. best, Bill

      "The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman

      C 1 Reply Last reply
      0
      • B BillWoodruff

        Why would you want to do this from a "windows" application (.NET ?): are you attempting to modify somebody else's website ? If you wrote the HTML, implement the solution in HTML which should be pretty simple: implement a way to make a List appear, catch the user's click on an item it, and so forth. best, Bill

        "The first principle is that you must not fool yourself, and you are the easiest person to fool." Richard Feynman

        C Offline
        C Offline
        candogu
        wrote on last edited by
        #3

        I want to do this because, the I don't have a chance to change the web site and I don't want to make changes on the site. For instance, I am working for an IT support of a company, we have a site that workers ask questions and we answer them. I have some constant answers so, when I focus on a textbox that for the answer, my form will appear and I will choose the constant answer for that question finally I'll send it. Thanks for the answer.

        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