Capture a DOS Application Screen

When testing MS DOS applications, it is useful to capture the text on the screen. The basic technique explained here is to run the DOS application in a window. Then, by sending the correct key sequence to that window, it is possible to capture the screen's text to the clipboard.

This technique will not work if the MS DOS application is running in full screeen mode - it must be in a window.

Visual Basic | Delphi | C++ Builder

Visual Basic 6.0

The general procedure is to