Running an exe in VB - TechRepublic
General discussion
June 15, 2000 at 04:44 AM
bcollins

Running an exe in VB

by bcollins . Updated 25 years, 8 months ago

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?

This discussion is locked

All Comments