Accessing Network-Locked File After Power Failure (31926)



The information in this article applies to:

  • Microsoft Visual Basic for MS-DOS
  • Microsoft QuickBASIC 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBASIC 4.5
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
  • Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
  • Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0

This article was previously published under Q31926

SUMMARY

If a file is opened, locked with the LOCK statement, and then the power is cut off, the file can still be accessed after rebooting the machine. However, the portion of the file that was written after the file was last closed will be lost. Microsoft cannot guarantee the data integrity of a file left open when there is a power failure; consequently some of the data may become corrupt.

Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB31926