You should disable timer at the beginnig of the processing and enable it afterwards.
PROCEDURE TIMER()
This.Enabled = .F.
set default to (this.cDownloadDirectory)
....
This.Enabled = .T.
ENDPROC
>
>
>
>I have subclassed the vfp timer that looks every minute in a directory for 10 files showing up, after that the program has to run a batch program. I have tried this program last friday and usually these files show up saturday. When coming to the office monday I noticed that the program stucked with an error: invalid path on the following syntax:
>
>
>PROCEDURE TIMER()
>
>set default to (this.cDownloadDirectory)
>
>....
>
>ENDPROC
>
>
>
>So I suspended it and resumed the program again. And to my suprise it continued w/o any problems. I know it is really vague, but is there something with the timer that I have to watch out for. Or are there any better options to achieve what I want.
>
>Thanks beforehand
--sb--