I need to make a VB.Net application pause for 5 seconds but still be responsive. I tried using a loop with a timeout based on a timer with DoEvents in the loop, this worked but used 99% of the cpu which was not acceptable. I have changed this to using System.Threading.Sleep(5000) which reduces the CPU usage however the application then becomes unresponsive when the user attempts to interact with it.
Is there a way I can pause the program in the way described and have the application still responsive?
-Ian
Is there a way I can pause the program in the way described and have the application still responsive?
-Ian