Best way to update the hi to show large data import process

Hi team

I have a web app that I occasionally need to update a database from. This takes around 30 seconds but I’m struggling to find best practice to show a UI element like a progress bar. Similar code on a desktop version worked great using doevents with a small 2ms delay but no dice on the web. Is this a use case for a thread or other?

Either do it with a webtimer and update a progressbar with every action (when you have a bulk operation) or, simpler, show a loading animation like a prograsswheel or something from

Thread, as in Desktop. DON’T use DoEvents except in Console apps.



1 Like