Solved

Get Reference to Controls in Other Applications (VB or C#)

Posted on 2006-07-18
1
366 Views
Last Modified: 2010-05-18
Can someone tell me how to get a reference to a control in a different application so I can read and write data?  In other words, say you have standard Windows application (something non-Microsoft, so simple MS automation won't work) and you want to be able to read and write data to a particular textbox control.  How is this done?  Thanks!
0
Comment
Question by:scottmichael2
1 Comment
 
LVL 44

Accepted Solution

by:
bruintje earned 500 total points
ID: 17152012
Hi scottmichael2,
----------

you can use the windows API like enumchildwindows to achieve what you're looking for
http://www.c-sharpcorner.com/Code/2002/Nov/win32api.asp

----------
bruintje
share what you know, learn what you don't
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
string initialization in java 11 113
difference between String.subString() and String.subSequence() 6 196
abstract class with all non abstract mentods 6 76
mapBully challenge 6 133
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…

770 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