Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File in use
Message
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00639524
Message ID:
00639617
Views:
15
>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
* Close the temp table we opened
SELECT (lcFileName)
USE
* Used to ensure that Novell releases the table before we delete it
*
WAIT('') TIMEOUT 2
*
* Erase the temp table when done
ERASE (lcActiveItems)
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform