Results 1 to 2 of 2

Thread: Console program handling

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 1999
    Posts
    321

    Unhappy


    I want to create a console-based process where I run a program with some arguments and I want to be able to read it's output in realtime. However I want to keep this hidden.

    Let's say I have a asm-program that takes one integer argument which determines to which number it will count.

    C:\test\> asmnr 6
    1
    2
    3
    4
    5
    6
    C:\test\>

    This program will show print out a number each 5 seconds, and I want to read it's output from vb in REAL-TIME. Which means I don't want to have it's output when it's finnished but actually when it's running.


    Anyone have any idea of how to do this?

    Signed, Rodik (rodik@hehe.com)
    Programmer,usesVB6ED
    ===========================
    CopyrightRodikCo,2002.

    Dont mind this signature ;] Its old

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    It is a lot harder to make a console app using VB than C++ or Pascal. There is an article on making console app's with API using VB at http://www.vbworld.com
    I am become death, the destroyer of worlds.
    mail:vlatkovr@hotmail.com

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

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