Solved

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

Posted on 2006-07-18
1
365 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
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
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.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This video teaches viewers about errors in exception handling.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now