Name

Unlock Procedure — Microsoft.VisualBasic.FileSystem

Synopsis

Unlock(filenumber[, record)
Unlock(filenumber[, fromrecord[, torecord]])
filenumber required; Integer

Any valid file number

record required; Long

The record or byte number at which to commence the lock

fromrecord required; Long

The first record or byte number to lock

torecord required; Long

The last record or byte number to lock

Description

Use the Unlock procedure in situations where more than one part of your program may need read and write access to the same data file. The Unlock procedure removes a lock that the Lock procedure placed on a section of the file or the whole file.

Get VB.NET Language Pocket Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.