[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 192
  • Last Modified:

Progress Bar in the Browser

How to create the progress bar in the form of browser. Vb wizard has create a form of Internet browser. But I need to have the progress bar in the status bar to show the loading. I need to have the full source code. I need it immediately.
Thank you...
0
Favourite
Asked:
Favourite
1 Solution
 
watyCommented:
Create a progress bar, your browser has a progressChange event, use it



Private Sub HTMLView_ProgressChange(ByVal ProgressS As Long, ByVal ProgressMax As Long)
   ' #VBIDEUtils#************************************************************
   ' * Programmer Name  : Waty Thierry
   ' * Web Site         : www.geocities.com/ResearchTriangle/6311/
   ' * E-Mail           : waty.thierry@usa.net
   ' * Date             : 20/09/99
   ' * Time             : 12:50
   ' * Module Name      : frmVBCodeDatabase
   ' * Module Filename  : VBIDEDatabase.frm
   ' * Procedure Name   : HTMLView_ProgressChange
   ' * Parameters       :
   ' *                    ByVal ProgressS As Long
   ' *                    ByVal ProgressMax As Long
   ' **********************************************************************
   ' * Comments         :
   ' *
   ' *
   ' **********************************************************************

   On Error Resume Next
   
   Progress.Max = ProgressMax
   If ProgressS > 0 Then
      Progress.Value = ProgressS
   Else
      Progress.Value = ProgressMax
   End If

End Sub
0
 
jorgdCommented:
You can also use the progresschange event to show a porcentage of the progress in this way:

prog=(progressS*100)/prograssMax

and then you can use this value to update a status bar
0

Featured Post

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now