Progression Bar for MCU Programmers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sivasujithsp
    New Member
    • Jun 2007
    • 4

    Progression Bar for MCU Programmers

    Hi all,

    I am designing a Programmer for Microcontroller s in VB6.0
    How to use a progression bar to show the process,
    FYI, to start the progression bar i recieve a start_character and at the end of the process i recieve a end_character ... How to move the progression bar corresponding to this ....

    thnx in advance.....

    regards,
    Sujith SP
  • Killer42
    Recognized Expert Expert
    • Oct 2006
    • 8429

    #2
    VB6 has a ProgressBar control. Just go to Project | Components and add a reference to Microsoft Windows Common Controls. The online help will tell you how to use it.

    Comment

    • Robbie
      New Member
      • Mar 2007
      • 180

      #3
      Originally posted by sivasujithsp
      Hi all,
      FYI, to start the progression bar i recieve a start_character and at the end of the process i recieve a end_character ... How to move the progression bar corresponding to this ....
      This isn't possible. You need to know when the end_character is going to be received, otherwise you can't fill up a progress bar so that as soon as it is filled up, the end_character is received.

      I mean, you can't tell the speed which the progress bar needs to be filled up at just from a start_character . It could be 10 pixels a second or 1 pixel a day for all it knows.

      Unless you have some kind of way of knowing how many characters long the data which you receive will be, I don't see how this is possible.

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        Yes, if the length of the process is unknown, maybe it'd be better to just put up a picturebox and draw something moving along it, like an animation. Or for that matter, see whether one of the animations supplied with Windows XP is appropriate. For example, when copying a large file, I generally show the little "files flying to another folder" video.

        Comment

        Working...