1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[How to] XP style progress bar in Visual studio 2008 on windows 8, please help me

Discussion in 'Visual Basic 6' started by pubudusoft, May 17, 2013.

  1. pubudusoft

    pubudusoft Power Member

    Joined:
    Aug 21, 2011
    Messages:
    650
    Likes Received:
    133
    Hello,

    Its been days, im trying to get a progress bar like this: when i click on a button, progress should go to %100 slowly, with a timer.

    IC82113.gif

    1. I click on a button.
    2. Progress bar starts filling with "blocks" by "blocks" in XP style. Im using win8 and its like this:

    mqdefault.jpg

    Please help me with this, i will greatly appriciate if you can code this and give me all the project files. A button and a progress bar is all im asking....

    I know its very basic, but im no coder.

    please help guys....
     
  2. pubudusoft

    pubudusoft Power Member

    Joined:
    Aug 21, 2011
    Messages:
    650
    Likes Received:
    133
    I searched on google and all the vb forums, coder forums, programmer forums, even started asking help from them by posting threads. also yahoo answers.

    plz help guys...

    thanks
     
  3. roach

    roach BANNED BANNED

    Joined:
    Sep 8, 2009
    Messages:
    740
    Likes Received:
    395
    man a progress bar is easy if you use a background worker and worker report progress. Do you need an app coded?
     
    • Thanks Thanks x 1
  4. pubudusoft

    pubudusoft Power Member

    Joined:
    Aug 21, 2011
    Messages:
    650
    Likes Received:
    133
    yeah just like this one:
    http://i.msdn.microsoft.com/dynimg/IC82113.gif

    Can you please give me the codings,project files as well? so i can copy them and use it for other programs.

    thanks for offering help.

    Im using windows 8, visual studio 2008. I need a XP style progress bar.
     
  5. pubudusoft

    pubudusoft Power Member

    Joined:
    Aug 21, 2011
    Messages:
    650
    Likes Received:
    133
    bump bump....
     
  6. bradleyh

    bradleyh Newbie

    Joined:
    May 27, 2013
    Messages:
    4
    Likes Received:
    1
    Try looking for progress workers as roach suggested. A progress worker runs in a separate thread and will allow you to update the GUI.

    Sent from my Nexus 7 using Tapatalk 4 Beta
     
  7. bradleyh

    bradleyh Newbie

    Joined:
    May 27, 2013
    Messages:
    4
    Likes Received:
    1
    Workers work in a separate thread allowing the GUI to update, without the second thread the GUI would lock up until 100% occurs.

    Sent from my Nexus 7 using Tapatalk 4 Beta
     
  8. bradleyh

    bradleyh Newbie

    Joined:
    May 27, 2013
    Messages:
    4
    Likes Received:
    1
    Sorry, still getting used to tapatalk - i can post some code tomorrow if you like?

    Sent from my Nexus 7 using Tapatalk 4 Beta
     
  9. johnhort

    johnhort Registered Member

    Joined:
    Dec 16, 2013
    Messages:
    99
    Likes Received:
    29
    man a progress bar is easy if you use a background worker and worker report progress. Do you need an app coded?