Progress Event

Progress Event

See Also                                    Applies To

The Progress event occurs while a snapshot file is being loaded.

Syntax

Sub controlname_Progress(ByVal amount As Long)

The Progress event has the following arguments.

Argument Description
controlname The name of the Snapshot control object.
amount An Integer value between 0 and 100 representing the percentage of the snapshot file that has been loaded.

Remarks

The SnapshotPath property can point to a snapshot file with an HTTP or FTP address. Depending on the size of the file and the speed of your Internet or intranet connection, it may take some time to download the complete file.

You can use the Amount argument of the Progress event to display a progress meter showing the status of the file download operation.

You can use the ReadyState propety to determine when a snapshot file has been completely loaded into the Snapshot Viewer control.