Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Timers not firinger???
Message
From
02/11/2022 14:36:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
02/11/2022 13:52:41
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685191
Message ID:
01685198
Views:
37
>>>I've definitely had problems in the past where the timer on a form in a 24/7 EXE would fall asleep and just nudging the title bar with the mouse would wake it up. That was like VFP 7 back in the day. I also had problems with the timer in VFP 3 or so.
>>>
>>>Anyway, we have a customer site where our app uses up to 3 timers, I believe, and it appears that they're falling asleep and not firing.
>>>
>>>No other customer seems to be reporting this, however. But, the customer says it happens on numerous machines at their site.
>>>
>>>The purpose of the timer is to see if a file hit a folder and then to act on it. I'm trying to extract the bind events in the VFP 9 Windows Events in the Samples and it, the event binding, seems to work.
>>>
>>>Anybody?
>>This doesn't answer your question, Jeff, but you might want to look at the Windows Scheduler.
>
>This timer is in an app that needs to consume files as they arrive, so it's not good for Windows Scheduler. BTW, I'm a big fan of Windows Scheduler for little FoxPro jobs.

Have you considered eventbinding to check for the files arriving? For what I know one can watch folders for change. And If yo can not with VFP, do with .net.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform