I have wrote a program that do a bit of calculations that takes about 10 min to complete, therefore I need to show a progress to user. I used a percentage in status bar to show the current status of program.
The problem is for updating the number after each iteration I use me.refresh to show the percentage. BUT whenever the program lose the focus for example working on other stuffs, the program cannot update the percentage anymore. And above the form shows not responding but do the job until get the result.
I don't khow what to do? Maybe I should go for multithreading but i don't know anything about that. Is there any other solution to this problem.
I really appreciate any help