Syntax
File_IsReadOnly(pFileName As Global_sFileName), Bit
Parameters
pFileName — The name of the file to be checked
Return value — 1 if read-only
0 if not read-only (or if the file wasn't found)
Checks whether an existing file has the read-only attribute set
Example
|
Dim bTemp As Byte bTemp = File_IsReadOnly("temp.txt") |
Created with the Personal Edition of HelpNDoc: Easily Add Encryption and Password Protection to Your PDFs