the following code is part from my VB6 program
I used shell command in the VB in order to execute the pscp.exe with the flags and arguments
my problem is ,
You can use hidden focus:
Shell strCommand, vbHide
or
Shell strCommand, 0
For other focus types look Here or http://msdn.microsoft.com/en-us/library/aa242087%28v=VS.60%29.aspx (thanks to MarkJ for the link)