Hi!
Little note: once I did made the same and experiensed that Timer event of such time does not fire at all until I put that timer on the form, no matter which form - the form was just created by "Createobject('Form')" too. My app contained ActiveX controls, maybe that was a problem - I do not know exactly.
>Hi Mike
>
>I solve this by creating a new class based on the timer class and adding it to my vcx. Then in my timer class I add whatever code I need. Then in your program somewhere use mytimerobj = createobject("mytimer"). Now your timer is 'free' of any form.
>
>The variable you assign the timer object to must be scoped to the entire session where you need it. I instanciate the timer in my main program so that it is always in scope.
>
>One word of warning: if VFP is busy processing something then the timer will not fire until processing stops.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.