Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File access denied when trying to erase a text file
Message
 
To
31/03/2006 03:39:11
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01109432
Message ID:
01109441
Views:
22
>hi,
>
>thanks for your reply.
>
>i get another error, file is in use.. what's wrong?
>
>i have this complete code in my command button click,
>
>


>if file('c:\regions\fbas\'+dfolder+'\dummy.txt')
> erase ('c:\regions\fbas\'+dfolder+'\dummy.txt')
>else
> gnerrfile = fcreate('c:\regions\fbas\'+dfolder+'\dummy.txt')
>endif
>


>
>
>TIA.

Did you FLOCSE() that file somewhere? If you didn't you'll keep receving that message.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform