I am using the inbuilt Shell() function to call a VB6 program but what happens is that the control after calling the .exe file does not wait to finish the job but goes ahead executing the rest of the commands within that module. How can I stop executing the rest of the statements in my current module until the called program has finished its job? Thanks.