The information in this article applies to:
SYMPTOMSUsing BLOAD to load a file into memory when that file is already open with write access results in error 5, "Permission Denied." CAUSEWhen you try to use BLOAD to load an open file that was opened for SHARED or ACCESS READ WRITE, you are denied permission. This is by design. RESOLUTIONIf you need to use BLOAD to load a file that is already open, either close the file or make sure the file was opened for ACCESS READ. STATUSThis behavior is by design. MORE INFORMATIONHow to Reproduce the BehaviorThe following code segment results in the "Permission Denied" error:
WORKAROUNDThe following code segment shows how to open the data file for readonly access so that the BLOAD statement does not generate an error:
Additional query words: VBmsdos QuickBas BasicCom 1.00 4.50 7.00 7.10 b_quickbas b_basiccom
Keywords : |
Last Reviewed: December 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |