RB File Mode

REALbasic does not expose a Lock/Unlock construct for file access. What’s more, when you open a file in REALbasic, you have no control over the share mode of the file (unless you open the file yourself using OS APIs). RB only opens files for read sharing on Windows, not write or delete sharing.