Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Possible in VB to read text of console window through API?

Status
Not open for further replies.

dziglar

Programmer
Apr 23, 2001
1
US
Is it possible in VB to read text of console application through the Windows API?

I am writing a program that tracks activity of some legacy programs. These legacy apps were written as VC++ console programs--so they run as console windows which do not operate the same as true Windows GUI apps.

I need to be able to read the text off their displays from within a VB program.

I can access the title of the command window using GetWindowText with the handle of the command window's task.

But what handle/object can I find and access through the Windows API that will allow me to read the output area of the console window?

Thanks!
Derek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top