Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release the file after making it Read Only
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00874354
Message ID:
00874464
Views:
29
>George,
>I am still getting the same error:
>File is in USE.
>**************************
>
>When i am closing the whole foxpro development suite.
>and if i open my project again in foxpro to see. Then i can delete the file with out any problem.
>
>Do i need to also release any references from foxpro.
>before i click the delete.
>Thank you.

The easiest method that I can think of to handle this situation is to make both the references to the Scripting.FileSystemObject and the file properties of the form. That way you can use the reference to the file to call its Delete method with the .T. parameter. This should work.

I'm thinking that if the attribute if set to Read-Only may be causing the file is in use error.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform