Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. background worker ..not able to process data while loading progress bar

background worker ..not able to process data while loading progress bar

Scheduled Pinned Locked Moved C#
cssdesign
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rocky811
    wrote on last edited by
    #1

    HI , I m working with Background worker class . I am trying to load data and while loading it takes time to process data . I am trying to get a progress bar showing the data getting processed in the grid on other thread that is loading that data in the form .I am able to design a forming that shows progress bar loading and then data getting processed. I m just calling the form while loading data but it doesn't process the data it runs its own thread to show progress bar loading. May I know how I can do that.

    C 1 Reply Last reply
    0
    • R rocky811

      HI , I m working with Background worker class . I am trying to load data and while loading it takes time to process data . I am trying to get a progress bar showing the data getting processed in the grid on other thread that is loading that data in the form .I am able to design a forming that shows progress bar loading and then data getting processed. I m just calling the form while loading data but it doesn't process the data it runs its own thread to show progress bar loading. May I know how I can do that.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The background worker class needs to be set to support progress, then it can send an event to the main thread to report progress.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups