Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp timer pitfalls?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01250752
Message ID:
01250785
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
See http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1920869&SiteID=1 for another way of achieving your result. It would be quite simple in VFP9 and hopefully code in my message can work in prior versions (not 100% sure about VFP5, though).

>Hi all,
>
>I have subclassed the vfp timer that looks every minute in a directory for 10 files showing up, after that the program has to run a batch program. I have tried this program last friday and usually these files show up saturday. When coming to the office monday I noticed that the program stucked with an error: invalid path on the following syntax:
>
>
>PROCEDURE TIMER()
>
>set default to (this.cDownloadDirectory)
>
>....
>
>ENDPROC
>
>
>
>So I suspended it and resumed the program again. And to my suprise it continued w/o any problems. I know it is really vague, but is there something with the timer that I have to watch out for. Or are there any better options to achieve what I want.
>
>Thanks beforehand
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform