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:
00874485
Views:
37
No.

I am doing like this:
****************************************************************
oFSO = CREATEOBJECT("Scripting.FileSystemObject")
oFile = oFSO.GetFile(lcDir+"\"+finame+".tif")
If oFile.Attributes = 33 then
oFile.Attributes = BITAND(oFile.Attributes, BITNOT(1))
EndIf

oFile.Delete(.T.)
*****************************************************************
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform