Thanks, I got it fixed..... I had tried the stop command, but it wasn't working. I had to but a dummy layer in with the command in it. I think that the problem has something to do with WIN2K.... I worked on it later on a Win98 machine, and the stop command worked where it was supposed to.... wierd!