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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how i can send text to external program

how i can send text to external program

Scheduled Pinned Locked Moved C / C++ / MFC
7 Posts 5 Posters 1 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
    shortwave
    wrote on last edited by
    #1

    how i can send text from my program to testbox in external program

    D M E H 4 Replies Last reply
    0
    • S shortwave

      how i can send text from my program to testbox in external program

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      Have you looked at SetWindowText()?


      "Money talks. When my money starts to talk, I get a bill to shut it up." - Frank

      "Judge not by the eye but by the heart." - Native American Proverb

      1 Reply Last reply
      0
      • S shortwave

        how i can send text from my program to testbox in external program

        M Offline
        M Offline
        ms linuz
        wrote on last edited by
        #3

        Do you mean like keystrokes ( keyboard emulator ) ? Do you want to send any data ( text or whatever kind of data ) to another application / program that running ? AFAIK, there is a library on .NET to do it, called SendKeys. But if you do not use any .NET then you may have to search on WINAPI documentation.

        1 Reply Last reply
        0
        • S shortwave

          how i can send text from my program to testbox in external program

          E Offline
          E Offline
          ensger
          wrote on last edited by
          #4

          Why don't you store your text into an ASCII-file and read this file in the external program? Good luck, Gerard

          H 1 Reply Last reply
          0
          • S shortwave

            how i can send text from my program to testbox in external program

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            Is your problem solve?

            _**


            **_

            WhiteSky


            S 1 Reply Last reply
            0
            • E ensger

              Why don't you store your text into an ASCII-file and read this file in the external program? Good luck, Gerard

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              He can send his text direct to a program

              _**


              **_

              WhiteSky


              1 Reply Last reply
              0
              • H Hamid Taebi

                Is your problem solve?

                _**


                **_

                WhiteSky


                S Offline
                S Offline
                shortwave
                wrote on last edited by
                #7

                yes it solved but some program didnt recive the text so i ahve its handle

                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