In my VB application I come to a point where I have to open up another application, and then use some SendKeys functions in order to get the other application to download a file from the company's mainframe to the local hard drive.

I need to know how I can get my VB program to wait until the file has been created and the application is finished downloading information before using some more SendKey functions.

If I'm off by a second and acciendtially use a SendKey function while the download is occuring the download will stop but the file will be created and appear to be complete when it really isnt.

Please help me,
Brandr Beekman
[email protected]