Calling an .exe file in VB
Posted on 2005-03-05
We have a Java program called Test that has a textbox on it. The user would enter a path and then press the Enter key. The path will then be used to process other commands in the application.
Now, we converted our Java application into an .exe file. We then want to call this file in a VB application by using Shell. Our syntax goes like this:
a = Shell("Test.exe")
The textbox (in the Java app) receives the focus when the program is loaded. However, the program doesn't work. What do I need to make it work?
Thanks in advance!