Hi,
i posted an earlier thread similar to this but maybe i wasnt on target in specifying my problem.
I have something like this:
while(some condition is true)
{
do something//
}
This condition goes false after a long time(30-40 minutes)
but my process becomes non-responsive in about 2 minutes. there's nothin wrong in the processing within the loop. Please help

why does this code stop responding
netnav
try adding
Application.DoEvents();
in the while so that the UI will be responsive.
SimonQ
How do you know the process is non-responsive Have you tried creating breakpoints or logging each pass (or 1-of-x passes) to a file/Console Also, what are you doing in each pass Maybe you're leaking memory or doing something unsafe that is causing the process to become unresponsive. The prior poster is correct - a process should go on forever without doing anything using your code.
Josh
slo7h
hi,
i guess the best way is to complete this while loop because nothing wrong with while( something is true)
best regards