Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

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

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
scottmichael2
Asked:
scottmichael2
1 Solution
 
bruintjeCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now