The DownloadCompleted event occurs when a file download has
completed.
Syntax
Sub object_DownloadCompleted ( [Index As
Integer,] ByVal FileName As String, ByVal
FileSize As Double, ByVal Status As Long )
Remarks
This event occurs when a file download has completed. The FileName
argument specifies the full path to the file that was downloaded and the
FileSize agument specifies the size of the file in bytes.
The Status
argument indicates the status of the download and may be one of the
following values:
| Constant |
Value |
Description |
| webDownloadStarted |
1 |
The file download has started and is in-progress. |
| webDownloadCompleted |
2 |
The file download has completed successfully. |
| webDownloadCanceled |
3 |
The file download has been canceled. |
| webDownloadFailed |
4 |
The file download failed due to a network error or other problem. |
See Also
DownloadStarting Event
|