Reading output from JDK with VB.
Posted on 1998-09-16
Please read this q. carefully.
I am NOT looking how to shell the JDK compiler (javac),
but to do a more complicated task, reading the
information the JDK displays after an attempt to
compile. (Errors and where or not)
I have tried shelling like this
javac >hello.txt name.java &
javac name.java > hello.txt
and none of these methods seem to work.
Even shelling a *.bat file with the same instructions
Use the DOS Console and try them out,
the hello.txt file remains empty.
So, for 450 Points,
I would like to know how to read this output.
I do not care how you do it, but as long as it somehow
writes the output to a file on the Hard Drive or
a string, or TextBox. Somewhere.