Re: Standalone Not Responding
Hi, While using repeat loops, include the line wait 0 millisecs with messages at the end of your repeat loop (before end repeat). This will give your app some time to update the GUI and to communicate with the OS. If you're downloading large amounts of data from a website, consider using PHP to execute the query. Use the load command to retrieve the data and use the urlStatus function to display progress. The load also allows you to use a callback message, which makes it possible to implement a fully non-blocking solution. Alternatively, download smaller amounts of data (but that alone isn't an option, if the server needs a long time to execute the query). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/21/2014 20:24, Magicgate Software - Skip Kimpel wrote: Good afternoon LC'ers I have a few Windows standalones that, when processing large amounts of data or making large data calls to a SQL server, will sit there with (Not Responding) in the title bar and the application seems to freeze up. Help? Some simple setting, I am sure SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Standalone Not Responding
Is it proper to use the wait 0 millisecs with messages within the loop OR is this a global setting I should apply to the stack? What are the ramifications of this, if any? Thanks! SKIP On Tue, Jul 22, 2014 at 10:00 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi, While using repeat loops, include the line wait 0 millisecs with messages at the end of your repeat loop (before end repeat). This will give your app some time to update the GUI and to communicate with the OS. If you're downloading large amounts of data from a website, consider using PHP to execute the query. Use the load command to retrieve the data and use the urlStatus function to display progress. The load also allows you to use a callback message, which makes it possible to implement a fully non-blocking solution. Alternatively, download smaller amounts of data (but that alone isn't an option, if the server needs a long time to execute the query). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/21/2014 20:24, Magicgate Software - Skip Kimpel wrote: Good afternoon LC'ers I have a few Windows standalones that, when processing large amounts of data or making large data calls to a SQL server, will sit there with (Not Responding) in the title bar and the application seems to freeze up. Help? Some simple setting, I am sure SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Standalone Not Responding
Hi, As I wrote in my previous e-mail, you include that line in your repeat loop. The ramifications are that the GUI no longer gets locked up, but the repeat loop will need more time to finish. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/22/2014 16:10, Magicgate Software - Skip Kimpel wrote: Is it proper to use the wait 0 millisecs with messages within the loop OR is this a global setting I should apply to the stack? What are the ramifications of this, if any? Thanks! SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Standalone Not Responding
Thanks Mark. On Tue, Jul 22, 2014 at 10:19 AM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Hi, As I wrote in my previous e-mail, you include that line in your repeat loop. The ramifications are that the GUI no longer gets locked up, but the repeat loop will need more time to finish. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 7/22/2014 16:10, Magicgate Software - Skip Kimpel wrote: Is it proper to use the wait 0 millisecs with messages within the loop OR is this a global setting I should apply to the stack? What are the ramifications of this, if any? Thanks! SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Standalone Not Responding
Good afternoon LC'ers I have a few Windows standalones that, when processing large amounts of data or making large data calls to a SQL server, will sit there with (Not Responding) in the title bar and the application seems to freeze up. Help? Some simple setting, I am sure SKIP ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode