vb.net (vb2005)
Does anyone know how to change the write protect property of a file through code?
is this possible?
James
Does anyone know how to change the write protect property of a file through code?
is this possible?
James
''''''''This is path to your write protected file
Dim filePath = "........"
'''Remove ReadOnly file attribute
System.IO.File.SetAttributes(filePath, IO.FileAttributes.Normal)
''''''''This is path to your write protected file
Dim filePath = "........"
'''Remove ReadOnly file attribute
System.IO.File.SetAttributes(filePath, IO.FileAttributes.Normal)
Comment