Progress Event

The Progress event is called during the creation or application of the patch package.

Syntax

Private Sub object_Progress([index As Integer], FileName As Variant, Percent As Variant)

The Progress event syntax has the following parts:

Part Description
object An object expression that evaluates to a Package object.
index An integer that uniquely identifies a control if it's in a control array.
FileName A value which specifies the name of the file that is currently being acted upon.
Percent An integer which specifies a completion percentage between a value of 0 and 100.

Remarks

The Progress event can be used by the application to update the user interface as the package file is being created or applied. For example, it may be used to update a progress bar.

To cancel the current operation, use the Cancel method.

See Also

Apply Method, Create Method