>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