I am having trouble setting the focus to external applications. I have code that starts two external applications - one to dial up to a remote network and one to make the connection to an AS/400. Then the code does an FTP of data to the AS/400. Once the FTP is completed, I need to be able to make the external applications active and disconnect from the network and close the programs. When I try to use AppActivate, I get Error Code 5 - Invalid procedure call or argument. I'm not sure what this means or how I can make the external applications the active window. If anyone has any idea of how to do this, I would greatly appreciate it. Thanks.