Window Freezes While Listing All files and Directories
Hello Dear Friends I am Having problem in Visual C#. I created a program that list all the files of directories and their subdirectories. It list all the files but it freezes my form so that i can't do any other task like stop listing or i also use a progress bar there but nothing works when searching(listing) starts. so please help to come out from this problem. I tried to use multithreading but i m novice in multithreading so i can't use it properly. so please help me.
Re: Window Freezes While Listing All files and Directories
Multithreading is the only way to solve you problem.
Try some googling on 'C# multi threading' and 'C# multi threading best practice' and you probably find some useable result.