File_IsReadOnly()

… visits
Parent Previous Next

Syntax

File_IsReadOnly(pFileName As Global_sFileName), Bit

Parameters

Parameter

Description

pFileName

The name of the file to be checked

Return value

1 if read-only

Overview

              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