NOTICE: The Data Access network (all services including email, FTP, Forums and websites) will be down for maintenance Sunday, May 19, 2013 at various times beginning Noon EST. All normal services should be available by 6:00 PM Sunday evening.
From time to time the question arises "how can I terminate my program when no activity took place?".
Visual DataFlex offers two features named DFTIMER and cIdleHandler but both do not really cover the topic. Let us look closer at these two options and find a real solution.
A Timer (DFTIMER)
A timer (DFTIMER) fires a message every NN milliseconds no matter there is activity or not. In the list of tables treeview in Database Explorer we use an object of this class
When your Visual DataFlex application makes an external call to a webservice the main program waits for its completion. If the request does not return immediately several things can be the cause. Your connection to your ISP can slow, the webserver you try to reach is busy, can be difficult found etc. If you want your application to continue as soon as possible and know (and this is they unknown keyfactor) that particular call should not take more than a couple of milliseconds to complete you can