I am writing a VB program that requires a call to run an exe file. This exe file is producing a txt file that I then need to get some information out of. My problem however is that the VB program makes a call to the program (using Shell() ) and then jumps right into trying to get the information out of the txt file. Is there anyway I can get the VB program to wait until the exe file has finished running?