Skip to content

AsyncStatusCodeConstants

Status codes reported by AsyncProperty.StatusCode during an AsyncReadProgress notification, identifying which step of the download is currently in progress.

ConstantValueDescription
vbAsyncStatusCodeError0An error has occurred during the read.
vbAsyncStatusCodeFindingResource1The runtime is locating the target server.
vbAsyncStatusCodeConnecting2A connection to the target server is being established.
vbAsyncStatusCodeRedirecting3The request is being redirected to a different URL.
vbAsyncStatusCodeBeginDownloadData4The download of the resource data is starting.
vbAsyncStatusCodeDownloadingData5The resource data is being received.
vbAsyncStatusCodeEndDownloadData6The resource data has finished downloading.
vbAsyncStatusCodeUsingCachedCopy10The resource is being served from the local cache rather than the network.
vbAsyncStatusCodeSendingRequest11The request is being sent to the server.
vbAsyncStatusCodeMIMETypeAvailable13The MIME type of the resource is now known.
vbAsyncStatusCodeCacheFileNameAvailable14The local cache filename for the resource is now known.
vbAsyncStatusCodeBeginSyncOperation15A synchronous portion of the operation is starting.
vbAsyncStatusCodeEndSyncOperation16A synchronous portion of the operation has finished.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author