Ritesh,
Is your basic app:
oTimer = createobject( "YourTimer" )
read events
define class YourTimer as Timer
Interval = 1000
function Timer()
endfunc
enddefine
If you've got other things like a DO WHILE loop you are burning more CPU cycles than you need.
>Hi,
>I have created one backgroud application without any UI.
>Application is using 1 timer control. The application simply checks one folder for file & if file is there update VFP6.0 database.
>
>but it consumes even more than 50% of CPU. cpu utilisation is very fluctuating..
>
>Anybody knows the reason & can provide the solutions/suggestions.