I basically want to take a VB app (which has no GUI, just does some background work) and writes it output somehow. I can't use MsgBox since that creates pop ups, and I dont want to write to a text file and then read it in from java.
In java I do something like
Process p = Runtime.getRuntime().exec("MyVBApp.exe");
int val = -1;
while ( (val = p.getInputStream().read()) != -1) {
System.out.print((char) val);
}
....that's what I want to do in java...but i cant get anything from the input stream b/c the VB app doesn't write to it.....how can I write to it from VB?
thanks.