I have created app which first checks some path in program files if that path not found it will promt to specify the path for that I have created small app(another form) using windows drive and Dir control but problem is that my main app continue to execute remaining code without waiting for path to accept how can I code my app so that it will wait till person specify the path and then control get back to my main app and execute the remaing lines…