Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of VFP timer
Message
From
19/07/2004 04:59:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Use of VFP timer
Miscellaneous
Thread ID:
00925677
Message ID:
00925677
Views:
412
Hi,

Is there anything I ought to know or to consider if I want to use a program like this?
I have tested it, and it seems to work, but I am not certain if there are side effects that I may
be unaware of? Will the program have any effect on the normal operation of the system while it is idling?

parameters ptid
deftime = ptid
set resource off
_screen.visible = .f.
tid = createobject("timer")
tid.interval = 6000
do while .t.
if time() > deftime
do myProgram && perform action and exit at desired time
exit
endif
enddo

Rolf
Next
Reply
Map
View

Click here to load this message in the networking platform