Hi Everybody,
I want my VFP6 application to monitor a particular folder for some newly created txt files continuously. When I use following code, computer's utilization goes upto 100% level.
Can somebody suggest me how to achieve the same without using much resources?
Foxbldr
I want my VFP6 application to monitor a particular folder for some newly created txt files continuously. When I use following code, computer's utilization goes upto 100% level.
Can somebody suggest me how to achieve the same without using much resources?
Code:
llContinue=.t.
on escape do stopApp && llContinue=.f.
do while llContinue
....
this.checkFolder(...)
.....
enddo
Foxbldr