VB.NET - Read lines from command line to Windows form possible?

Posted by Yiu Korochko on Stack Overflow See other posts from Stack Overflow or by Yiu Korochko
Published on 2010-06-09T22:14:28Z Indexed on 2010/06/10 7:32 UTC
Read the original article Hit count: 320

Filed under:
|

Hey Overflow, I have an application which serves as a user interface for a spartan/command line program.

I have the program running on a separate process, and my application monitors it to see if it is responding and how mush CPU it is utilising.

Now I have a list of files in my program (listbox) which are to be sent to the application, which happens fine. But I want to be able to read text from the com-line so as to determine when the first file has been processed.

Com-line says one of "selecting settings", "unsupported format" and "cannot be fixed". What I want to be able to do is when it says one of these three things, remove item(0) in listbox1.

Is this possible?

I thought of programming an event which handles com_exe.print or something or other, if possible.

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about command-line