Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8524833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T07:47:59+00:00 2026-06-11T07:47:59+00:00

Question: What’s the best approach to grab text from .Net UI controls in a

  • 0

Question:

What’s the best approach to grab text from .Net UI controls in a running, 3rd party application, and send input to said application? Due to deploy constraints, the target platforms range from XP to Win7. Max .NET version we can use is 3.5.

Background:

My team has been tasked with integrating with a legacy application in wide use in our industry. This integration requires reading data from the 3rd party application’s UI and pressing buttons on that application’s UI in certain scenarios.

We have the support of the 3rd party application developer, but they have no API to perform these functions.

We’ve done this successfully before with plain win32 apps via api hooks, but not in .net.

I feel that I should reiterate: we have intimate knowledge of the possible UI states in application in question; clearly there are all sorts of pitfalls here if one doesn’t have such deep knowledge.

I am mainly curious what others have done here. Any advice or pointers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T07:48:01+00:00Added an answer on June 11, 2026 at 7:48 am

    I recommend MS UI Automation.

    Try investigating your application with UI Spy. If you see enough information in UI Spy to get the job done, it should work for you. The API is not easy to jump into, but I would recommend steering clear of frameworks built on top of it to make things easier. Most of these frameworks have performance or other issues.

    If you have controls in the application that you need to manipulate which are very complex (such as controls from Infragistics), then the fact that you need to stay at .NET 3.5 might be a problem. Manipulation of the most complex stuff is best done with the UI Automation Core using the LegacyIAccessible Control Pattern.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Question from Object-Oriented JavaScript book: Imagine Array() doesn't exist and the array literal notation
Question: I want to test an if statement in PostgreSQL: IF (SELECT COUNT(*) FROM
Question: Is it possible to cluster an application which is using Socket.io for WebSocket
Question: input an int number ex: ABCD, verify that is ABCD = AB*CD or
Question: How do you get a video thumbnail for an application-private file? Specifically, is
Question: Considering the hello-gl2 example from Android NDK r6b, is this example correct when
Question is kind of hard to ask. I'll try my best to explain it.
I am currently running into a problem where an element is coming back from
Question says it all, really. My application is a time tracker. It's currently written
Question: I want to populate a LINQ table from code, not DataBase. Is it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.