Re: File is in use



Peter Morris [Droopy eyes software] wrote:
>
> Has anyone else experienced this? If so do you have a solution?

1. Check for the file before trying to write it. If the file is
locked, generate another file name.

2. Lock the file all the time.

Usually I do not recommend locking the file all the time, but since
your routine gets called alot, probably it is a solution.

Wien.

--
http://blogs.slcdug.org/esaputra
Delphi Setting Manager - http://www.codeline.net
.



Relevant Pages

  • Re: ML line number
    ... I am writing an error trap routine but "return ... thanks alot everyone.. ... Jump from $A6EA, $E43A: ... sta $fb ...
    (comp.sys.cbm)
  • Functions assigned to variables test
    ... I have the following routine that I found but am not sure what it is doing: ... It seems that this fuctions should check to see if there is an onload ... But what is happening is if run as is, it will do the alert, where prev = ... and then will run the printOnLoad function. ...
    (comp.lang.javascript)
  • Re: chris bliss on letterman tonight
    ... I like his routine alot, ... Then he does a 4 ball routine(his 3 ball routine is alot better) ... negative energy. ...
    (rec.juggling)
  • Re: chris bliss on letterman tonight
    ... I like his routine alot, ... Then he does a 4 ball routine(his 3 ball routine is alot better) ... negative energy. ...
    (rec.juggling)
  • Re: Loop routine fails after 10 cycles......
    ... The routine works great when an owner chooses ... When the Prev button is clicked one more time ... > Dim RecordFound As Range ...
    (microsoft.public.excel.programming)