>The code example is using two different instances of the Shell object, doing the waits with one, and the SendKeys with the other. If you want to follow this example to the T, you need to create an other instance of the shell object, and call it 'WScript'. But I don't think you need to- you should be able to just make all the calls on the same object...
Thanks for your input. However, I am sorry, but I don't understand how to do this. I tried to replace WScript with WshShell, but Visual FoxPro was not too happy.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)