-
Java program calling VB (transfer data back and forth) (1 messages)
- Posted by: Di He
- Posted on: January 06 2004 22:07 EST
Does anyone know that how can I invoke a VB program by using java code, and I want to transfer data back and forth? (The java program may create multiple threads and each of them may call a VB program and submit some data. After VB processes the data, java program wants the result back).Threaded Messages (1)
- Java program calling VB (transfer data back and forth) by David Rabinowitz on January 07 2004 05:08 EST
-
Java program calling VB (transfer data back and forth)[ Go to top ]
- Posted by: David Rabinowitz
- Posted on: January 07 2004 05:08 EST
- in response to Di He
You can use Runtime.exec(), and then use the input and output streams. Since console applications are not that easy to write in VB, I'd suggest you use TCP to communicate betwen them.
David