Results 1 to 28 of 28

Thread: ProgressBar question

Hybrid View

  1. #1
    Fanatic Member Megalith's Avatar
    Join Date
    Oct 2006
    Location
    Secret location in the UK
    Posts
    879

    Re: ProgressBar question

    nice solution
    If debugging is the process of removing bugs, then programming must be the process of putting them in.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Dec 2009
    Posts
    22

    Re: ProgressBar question

    bleh no, false, i didn't fix it omg.
    Code:
    Public Class Form1
    
        Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
            MessageBox.Show("", " ", MessageBoxButtons.YesNo, MessageBoxIcon.Information)
            If System.Windows.Forms.DialogResult.Yes Then
                Timer1.Start()
            End If
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            ProgressBar1.PerformStep()
        End Sub
    End Class
    Doesn't matter if I press Yes or No, the ProgressBar will start, although in my code it says only if DialogResult.Yes

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width