Solved

Text Transfer between programs

Posted on 2003-12-11
3
204 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

773 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