>I am having a weird problem that just started occurring when the customer got a new computer. Anywhere in the code where I try and delete a TMP file that I created gives my user the File In Use Error. I thought maybe the computer was too fast so I added in a Wait Window "" Timeout 1 before I deleted the file and still got it. So I know it is not a timing issue. I don't know what else to try. Has anyone else hit this problem using Foxpro 2.x Dos. It is running on a Win98 machine 20gig HD.
>
>Thanks,
>Dale
I use the same timing to get rid of our temp files off a server, but I use TIMEOUT 2
SELECT (lcFileName)
USE
WAIT('') TIMEOUT 2
ERASE (lcActiveItems)
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope