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. Visual Basic
  4. process bar

process bar

Scheduled Pinned Locked Moved Visual Basic
help
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.
  • Y Offline
    Y Offline
    yousafkamal
    wrote on last edited by
    #1

    i want to use process bar on form with timer but i can not do this plz help me with coding. thank you.

    D 1 Reply Last reply
    0
    • Y yousafkamal

      i want to use process bar on form with timer but i can not do this plz help me with coding. thank you.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Process Bar? What's that? I take it you mean a Progress Bar? The ProgressBar is easy enough to use. Set the Minimum and Maximum properties to what ever you want, defaults are 0 and 100. Then set the Step property to an increment value, say 1. That will give to 100 steps through the progress bar. Now, when you want to increment the progress bar, just call the bar's PerformStep method. If say, you were copying 5 files and wanted a progress bar to show how many file have been copied, you would set Minimum to 0, Maximum to 5, and Step to 1. When the first file is successfully copied, you call PerformStep(), when the next file is done, PerformStep(), ... RageInTheMachine9532

      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