Of course you all are correct [Mad] ,

Ok, I figured out after a while what you all already know. I was using the send key command and it was that command that was apparently returning the result code of "0".

Before:
code:
SENDKEYS ("{ENTER}")

After:
code:
$SENDKEYS = SENDKEYS ("{ENTER}")

Thanks for the nudge [Wink]

[ 07 May 2002, 23:39: Message edited by: rhylos ]
_________________________
rhylos