Results 1 to 4 of 4

Thread: [RESOLVED] Progress bar at 100%

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Resolved [RESOLVED] Progress bar at 100%

    Hey guys I have a progress bar called prbDetecting. When it is at 100 I would like a frame1 to become visible so it would be frame1.visible = true

    But how would I code it so when he prbDetecting is at 100% it happens?

    Thanks.

  2. #2
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Progress bar at 100%

    Check if the progressbar.value = progressbar.max? Is that what you are asking.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  3. #3
    Fanatic Member
    Join Date
    Aug 2007
    Posts
    912

    Re: Progress bar at 100%

    Code:
    Private Sub Form_Load()
    Frame1.Visible = False
    Timer1.Interval = 1
    prbDetecting.Value = 0
    End Sub
    
    Private Sub Timer1_Timer()
    prbDetecting.Value = prbDetecting + 5
    If prbDetecting.Value = 100 Then
        Frame1.Visible = True
        Timer1.Enabled = False
    End If
    
    End Sub

  4. #4

    Thread Starter
    PowerPoster
    Join Date
    May 2006
    Posts
    2,295

    Re: Progress bar at 100%

    Thank you both for your assistance.

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