Java program calling VB (transfer data back and forth)

Discussions

General J2EE: Java program calling VB (transfer data back and forth)

  1. Java program calling VB (transfer data back and forth) (1 messages)

    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).
  2. 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