progress bar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bWFydGluMQ==?=

    progress bar

    All,

    I try to use progress bar to show how much % done for my app run, can anyone
    tell how to make code work?

    Thanks,
    Martin
  • rowe_newsgroups

    #2
    Re: progress bar

    On Feb 11, 10:36 am, martin1 <mart...@discus sions.microsoft .com>
    wrote:
    All,
    >
    I try to use progress bar to show how much % done for my app run, can anyone
    tell how to make code work?
    >
    Thanks,
    Martin
    There is a progress bar control, the problem is you must be able to
    determine when a step is complete so you can update the progress bar
    with the current percentage. I don't know of any "magic" control that
    can automatically track a process's completion.

    Thanks,

    Seth Rowe [MVP]

    Comment

    • Cor Ligthert[MVP]

      #3
      Re: progress bar

      Kimi,

      You should always know the steps that can be taken.

      For a progress bar you need:
      The beginpoint
      The steps
      The endpoint

      Whatever it is.

      As soon as you don't know that you can better use an AVI or an Animated Gif
      as you see often in Windows OS instead of some pseudo information (from
      which I have often the idea that I am looking at in Vista)..

      Just my idea.

      Cor

      Comment

      • kimiraikkonen

        #4
        Re: progress bar

        On Feb 11, 7:51 pm, "Cor Ligthert[MVP]" <notmyfirstn... @planet.nl>
        wrote:
        Kimi,
        >
        You should always know the steps that can be taken.
        >
        For a progress bar you need:
        The beginpoint
        The steps
        The endpoint
        >
        Whatever it is.
        >
        As soon as you don't know that you can better use an AVI or an Animated Gif
        as you see often in Windows OS instead of some pseudo information (from
        which I have often the idea that I am looking at in Vista)..
        >
        Just my idea.
        >
        Cor
        Cor,
        Unfortunately the problem is not to know the exact end/begin points.
        However in some cases you can move progress bar indicator forward, an
        example i've found using for-next loop:

        Dim i As Integer
        For i = 0 To UBound(RandArra y)
        RandArray(i) = Int(Rnd() * 1000000)
        TextBox1.Text = TextBox1.Text & RandArray(i) & vbCrLf
        ProgressBar1.Va lue = i
        Next i

        which fills the array with random numbers and displays them in a
        textbox by the time progress bar is moved forward till all the array
        is filled.

        More samples are welcome with progress bar :-)

        Comment

        • =?Utf-8?B?bWFydGluMQ==?=

          #5
          Re: progress bar

          can you give an example of Animated Gif? Thnaks,
          Martin

          "Cor Ligthert[MVP]" wrote:
          Kimi,
          >
          You should always know the steps that can be taken.
          >
          For a progress bar you need:
          The beginpoint
          The steps
          The endpoint
          >
          Whatever it is.
          >
          As soon as you don't know that you can better use an AVI or an Animated Gif
          as you see often in Windows OS instead of some pseudo information (from
          which I have often the idea that I am looking at in Vista)..
          >
          Just my idea.
          >
          Cor
          >
          >

          Comment

          • Cor Ligthert[MVP]

            #6
            Re: progress bar

            As you have Visual Studio, then there are some in the SDK, I have to search
            for that, something that you can do yourself as well in my idea.

            Cor

            Comment

            • Patrice

              #7
              Re: progress bar

              You could also use the "marquee" display style that animate the progress bar
              in loops just to show that something is going on...

              --
              Patrice

              "martin1" <martin1@discus sions.microsoft .coma écrit dans le message de
              news: 373E5FAA-8C37-4F8E-80B2-5C2E6F77C716@mi crosoft.com...
              can you give an example of Animated Gif? Thnaks,
              Martin
              >
              "Cor Ligthert[MVP]" wrote:
              >
              >Kimi,
              >>
              >You should always know the steps that can be taken.
              >>
              >For a progress bar you need:
              >The beginpoint
              >The steps
              >The endpoint
              >>
              >Whatever it is.
              >>
              >As soon as you don't know that you can better use an AVI or an Animated
              >Gif
              >as you see often in Windows OS instead of some pseudo information (from
              >which I have often the idea that I am looking at in Vista)..
              >>
              >Just my idea.
              >>
              >Cor
              >>
              >>

              Comment

              • kimiraikkonen

                #8
                Re: progress bar

                On Feb 12, 10:37 am, "Patrice" <http://www.chez.com/scribe/wrote:
                You could also use the "marquee" display style that animate the progress bar
                in loops just to show that something is going on...
                >
                --
                Patrice
                >
                "martin1" <mart...@discus sions.microsoft .coma écrit dans le message denews: 373E5FAA-8C37-4F8E-80B2-5C2E6F77C__BEGI N_MASK_n#9g02mG 7!__...__END_MA SK_i?a63jfAD$z_ _@microsoft.com ...
                >
                can you give an example of Animated Gif? Thnaks,
                Martin
                >
                "Cor Ligthert[MVP]" wrote:
                >
                Kimi,
                >
                You should always know the steps that can be taken.
                >
                For a progress bar you need:
                The beginpoint
                The steps
                The endpoint
                >
                Whatever it is.
                >
                As soon as you don't know that you can better use an AVI or an Animated
                Gif
                as you see often in Windows OS instead of some pseudo information (from
                which I have often the idea that I am looking at in Vista)..
                >
                Just my idea.
                >
                Cor
                Marquee type just an animation if OP requires that type of indicator.

                Comment

                Working...