OpenReadOnly Method

Object List

Defined By:
BinaryFile

Description:

Similar to the Open method, except that the file must exist, and is opened only for reading.

Declaration:

Sub OpenReadOnly()

Details:

Since the file is opened with read-permission only, the OpenReadOnly method can be used to open files that have the ReadOnly attribute set, or that are located on a network drive that does not grant write permission.