Restricting Access

The optional AccessRestriction argument in an Open statement lets you restrict the access to Read, Write, or Read Write. This access restriction is often used when writing programs that will run across a network.

Specifying read-only access with Read lets users see the contents of the file but leaves them unable to modify the file. Specifying Write access lets users modify the file, and specifying Read Write lets users do both (read and modify).

Top Home