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. How to show current status of the proccess

How to show current status of the proccess

Scheduled Pinned Locked Moved C#
tutorialquestion
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.
  • M Offline
    M Offline
    Matjaz xyz
    wrote on last edited by
    #1

    I've been always wondering on how to show where my applications is currently located in the proccess it is doing. A good example would be - file moving (big files or something). I would make a "for" loop and go through files located in the selected directory and then move them to some other... but how could i show which file is currently being moved? If i put this inside the "for" - label1.text = file[i]; - it wouldnt show nothing. (as it is too fast to show). So can you please give me a hint on how to do that? This is not a top priority question. Just my curiosity, so dont judge me on asking how to do it. Thanks :) Have a nice day ;)

    Regards, Matjaž

    M 1 Reply Last reply
    0
    • M Matjaz xyz

      I've been always wondering on how to show where my applications is currently located in the proccess it is doing. A good example would be - file moving (big files or something). I would make a "for" loop and go through files located in the selected directory and then move them to some other... but how could i show which file is currently being moved? If i put this inside the "for" - label1.text = file[i]; - it wouldnt show nothing. (as it is too fast to show). So can you please give me a hint on how to do that? This is not a top priority question. Just my curiosity, so dont judge me on asking how to do it. Thanks :) Have a nice day ;)

      Regards, Matjaž

      M Offline
      M Offline
      musefan
      wrote on last edited by
      #2

      use background worker report progress update label or progressbar or whatever to say current progress easy :) if the files are copying quick maybe you should you a multiline textbox and append the file status as desired

      Life goes very fast. Tomorrow, today is already yesterday.

      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