Microsoft KB Archive/31926

= Accessing Network-Locked File After Power Failure =

Article ID: 31926

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft Visual Basic for MS-DOS
 * Microsoft QuickBasic 4.0
 * Microsoft QuickBASIC 4.0b
 * Microsoft QuickBasic 4.5 for MS-DOS
 * Microsoft BASIC Compiler 6.0
 * Microsoft BASIC Compiler 6.0b
 * Microsoft BASIC Professional Development System 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.

Additional query words: VBmsdos QuickBas BasicCom

Keywords: KB31926

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.