ProgressChange EventProgressChange Event*
*



Contents  *



Index  *Topic Contents
*Previous Topic: OnVisible Event
*Next Topic: PropertyChange Event

ProgressChange Event

Description

Occurs when the progress of a download operation is updated.

Syntax

Private Sub object_ProgressChange(ByVal Progress As Long, ByVal ProgressMax As Long)

ValueDescription
objectAn object expression that evaluates to an object in the Applies To list.
ProgressA long integer that specifies the amount of total progress to show, or -1 when progress is complete.
ProgressMaxA long integer that specifies the maximum progress value.

Remarks

The container can use the information provided by this event to display the number of bytes downloaded so far or to update a progress indicator.

To calculate the percentage of progress to show in a progress indicator, multiply the value of Progress by 100 and divide by the value of ProgressMax (unless Progress is -1, in which case the container can indicate that the operation is finished or hide the progress indicator).

Applies To

InternetExplorer, WebBrowser

See Also

DownloadBegin, DownloadComplete, Navigate


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.