I need to call a java class from my visual basic app. In addition I need to pass it a file name. From the command line I would run it like this "java java.class < myfile.txt". I tried using shell for this but I kept getting errors about the file not being found. Any suggestions?