Results 1 to 4 of 4

Thread: How can you read the text in a console of another program?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    How can you read the text in a console of another program?

    Anyone know?

  2. #2
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: How can you read the text in a console of another program?

    Do a search for Dynamic Data Exchange (DDE) on here. I know its old but it still works a treat. Thats if you made the other app.
    Last edited by Keithuk; Oct 5th, 2007 at 07:28 PM.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2003
    Posts
    1,269

    Re: How can you read the text in a console of another program?

    Unfortunately I did not make the other app.

    Is there another way?

  4. #4
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: How can you read the text in a console of another program?

    Any more hints about this "other program" and how it is used?

    It is possible for a program to run another console program and do piped I/O against its STDIO streams. The hazard is that some console programs do Console Device I/O instead of using the streams, and that's a couple of orders of magnitude harder to intercept.
    Last edited by dilettante; Oct 10th, 2007 at 09:34 AM.

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