Results 1 to 4 of 4
  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007

    Capture DOS Application output


    since i was looking for a function that copy the dos screen into a vb Var and haven't found one, I gatherd some solutions into one file and made a demonstration how to Capture and copy the DOS app screen for future use.

    the example can locate a window just be it Caption, focus on it and then with the built in dos-app options the program send Keyboard Strokes to simulate the next sequence. "Right click on the window caption. click on Edit and then click on MARK. hold Shift and go 81 times right and 28 times down. Right click on the window caption. click on Edit and on Copy" windows will copy the marked area to the clipboard.
    I also wrote a sub to copy the screen output to a string array. every cell is a whole line from the DOS screen.

    you can use this demonstration also to "push" text into a DOS application, just take a look at the Moudle file and it's functions.

    and this for google, to help others find this

    Capture screen
    Capture output
    Capture Dos screen
    Capture Dos output
    Mark Copy Paste
    Extrace Dos screen
    Extrace Dos Output
    Extrace Dos App screen
    Extrace Dos App Output
    Attached Files Attached Files
    Last edited by AVSL; Aug 24th, 2007 at 03:22 AM.

  2. #2
    Join Date
    Sep 2008

    Re: Capture DOS Application output


  3. #3
    Join Date
    Aug 2006

    Re: Capture DOS Application output

    wow.. thanks man....

  4. #4
    Lively Member
    Join Date
    Oct 2011

    Re: Capture DOS Application output

    Copyright by Data Solutions Pty Ltd (ACN 010 951 498)
    All rights reserved.
    Email for info: clatta@ozemail.com.au

    Best Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.