Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Text Transfer between programs

Posted on 2003-12-11
3
206 Views
Last Modified: 2010-04-02
I am trying to make a simple program that will read data from anouther process and send data back, i have found several websites on sending text to anouther window in visual basic but i cant seem to find anything on doing it in C++ i assume it would be as simple (yeh right... like anything simple!) as having a method to find the window, a method to send keystrokes to it, and anouther method to read the data from a text box...

certain data about the other window is known, like the text box i want to send to is named editx (according to some window handle finding programs) and the one i want to recieve from is called RichEd32, and they are both inside a window with an unknown name (the name of their parent window changes) and that parent windows parent has a name containing a fixed name (with other changing text after its name) i think this is the information i need to find the window handle (i managed it in VB by checking the window below the cursor every 100ms untill it matched these conditions... lol)

please could someone tell me how to do this, or give me a link to a site that describes how to do this (if one exists... i couldn't find one)

thanks in advance
0
Comment
Question by:SirPlancealot
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 125 total points
ID: 9922059
0
 
LVL 9

Expert Comment

by:tinchos
ID: 10356345
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: jkr {http:#9922059}

Please leave any comments here within the next four days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Tinchos
EE Cleanup Volunteer
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question