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
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