Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove the ReadOnly attribute
Message
De
05/01/2000 13:09:44
 
 
À
05/01/2000 12:38:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00313315
Message ID:
00313347
Vues:
30
>any way within foxpro to remove the read only attribute from a file? I see i can do a lowlevel function to open a file read only.. but does that set the attribute after you close it as well?
>
>
>Thanks,
>Jason

You can use the _filer class in the Fox Foundation Classes. It isn't documented, but you can use the oFiles collection. There is an Attr property that can be set for the file. The values are:

0 = no attributes
1 = Read Only
2 = Hidden
4 = System
32 = Archived.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform