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

  • SEARCH
  • Home
  • 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 6245035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:26:08+00:00 2026-05-24T12:26:08+00:00

We have an old Windows 32 bit app written in C++ which does some

  • 0

We have an old Windows 32 bit app written in C++ which does some stuff and displays the results in what resembles a textbox.

I have been ask to write an application in C# that reads the data out of the old app and then further process the data.

The issue is how do I read the textbox in the old application?

Someone told me I can get the “handle “of the application using windows API and step through the controls and then read each ones data! Is this true and if so how would I do it from C#?

This is to be a .Net 4 Windows forms Application.

Many thanks

  • 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-05-24T12:26:09+00:00Added an answer on May 24, 2026 at 12:26 pm

    You’re probably going to have to use some Interop calls to accomplish this, specifically using a combination of FindWindow / FindWindowEx and SendMessage & WM_GETTEXT / WM_GETTEXTLENGTH.

    Here is an article on the subject (in c++, however the same concepts will just need to be ported to use P/Invoke), it’s a bit dated but I believe is should be very relevant to your situation.

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

Sidebar

Related Questions

I have an old .net 2.0 windows app I need to deploy on a
I have some old fortran 77 I'm trying to port to gcc on Windows.
I'm moving my old app from windows forms to WPF and have encountered an
I have some old C 32 Bit DLLs that are using Oracle's Pro C
I have an old app I support (written in VB6) and it interfaces with
we have recently upgraded an old VB6 windows app to C# .NET 4.0. I
I have an old Windows app, compiled in Visual C++ 6.0, that I need
Is there some tool which allows one to control the MS-Windows (XP-SP3 32-bit in
I have a good old fashioned windows service (inheriting from System.ServiceProcess.ServiceBase), to which I
I have been assigned to update an old code written in MSVC++ 6. I

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.