Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove the ReadOnly attribute
Message
From
05/01/2000 13:09:44
 
 
To
05/01/2000 12:38:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00313315
Message ID:
00313347
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform