ClassMicrosoft.VisualBasic.FileSystem SyntaxLock(fileNumber[, record]) or: Lock(fileNumber[, fromRecord, toRecord])
DescriptionThe Lock procedure prevents another process from accessing a record, section, or whole file until it is unlocked by the Unlock procedure. Use the Lock procedure in situations where multiple programs or more than one instance of your program may need read-and-write access to the same data file. Usage at a Glance
Version Differences
See AlsoUnlock Procedure |