The process cannot access the file because another process has locked a portion of the file. 57 RRS feed

  • Question

  • Hi I am suddenly getting this error loading a text file.

    It has always worked and now on my main development PC it has stopped loading the file with the above error

    Win 10 fully updated.

    Even the compiled program prior to last win 10 update hangs. On other Pc's its ok and compiled works !!

    This is code pretty straightforward

            DBst = ""
            FileOpen(2, FILEst, OpenMode.Input)
            Do While Not EOF(2)
                DBst = DBst + InputString(2, 1)
    100:    FileClose(2)
    Is it to do with One Drive, the program was on part of One Drive but also does not work locally

    The data files are not on One Drive.

    The actual data is partially loaded

    Odd ?


    Sunday, October 29, 2017 9:51 PM

All replies