Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release the file after making it Read Only
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00874354
Message ID:
00874464
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform