Hi there, seems you are running huge loops inside your code which is running on single thread. So either you use a multithreading application or use Application.DoEvents()
for(i=0;i<80000;i++)
{
for(j=0; j<10000;j++)
{
Application.DoEvents();
}
Application.DoEvents();
}