Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click For i As Integer = 0 To 99 '時間のかかる処理。ここではSleepにしておきます。 Threading.Thread.Sleep(100) ProgressBar1.Value += 1 Next End Sub