Window Freezes While Listing All files and Directories
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Window Freezes While Listing All files and Directories

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    1

    Question 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.

  2. #2
    Join Date
    Sep 2008
    Location
    Netherlands
    Posts
    865

    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.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center