CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    7

    Background Process using Threads

    Hi,

    I'm working on building a wizard in C#. The wizard does a lot of database access and file access so it takes quite some time to complete.

    Whats the best way to put these heavy operations on a background process ? I know very little on threads though.

    The wizard should be able to show the user the progress of the operation as well as the option to cancel it mid-way.

    Can anybody point me to good references / tutorials or walkthroughs. Thanks a bunch!

  2. #2
    Join Date
    Jun 2004
    Location
    Kashmir, India
    Posts
    6,808

    Re: Background Process using Threads

    You should look at BackgroundWorker Component It will let you do multi-threading without too much of complexity.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured