I don't have any windows units around at the moment to test with, and my recollection of VB code is filled with scotch bottles and bleeding fingers, bats and the cave of dhoom but what happens if you change it to this line?I'm just looking at that line and trying to remember how one exits a function - if I'm wrong, correct me please, but worth a shot right?Code:Nxwxr13 = Shell(Nxwxr10, vbHibe)
Edit: All that said, it might actually be the Shell() that's failing rather than giving a good ret value.





