Yorkshireman2
Programmer
I have a VB 6 form with a button which calls a procedure to start an exe in a subdirectory of the VB6 App.
I tried code fro mhere: which "creates a pipe and executes the console application, telling it to send output and error information to the pipe. It then reads from the pipe until there's no output left to read."
It runs my executable ok but my destination text box does not update line by line, as the original console execution does.
The VB form sort of goes partially blank- not refreshing- until the called executable finishes-then the text box fills with all the text from the pipe.
Does anyone know if this all I can get or should it output line by line as the executable prints each line??
I tried code fro mhere: which "creates a pipe and executes the console application, telling it to send output and error information to the pipe. It then reads from the pipe until there's no output left to read."
It runs my executable ok but my destination text box does not update line by line, as the original console execution does.
The VB form sort of goes partially blank- not refreshing- until the called executable finishes-then the text box fills with all the text from the pipe.
Does anyone know if this all I can get or should it output line by line as the executable prints each line??