Pages

Total Pageviews

Add This

Tuesday, June 7, 2011

Simple use of Progressbar

The code bellow shows you how to implement progressbar without getting error:

Dim i As Integer

        For i = 0 To 100
            Do While (ProgressBar1.Value < 100)
                ProgressBar1.Value = ProgressBar1.Value + 1
                Application.DoEvents()
            Loop
        Next

2 comments:

  1. I'd personally want to say that the web site looks ok but I still do not find many codes. Please if you could work little bit more about it. I am a c# programmer, wanting to migrate to vb.net, as I currently work on a project that has been programmed in vb.net

    ReplyDelete