Asynchronous Constants

AsyncType

Constant Value Description
vbAsyncTypePicture 0 The data is provided in a Picture object.
vbAsyncTypeFile 1 The data is provided in a file that is created by Visual Basic.
vbAsyncTypeByteArray 2 The data is provided as a byte array that contains the retrieved data.  It is assumed that the control author will know how to handle the data.

AsyncStatusCode

Constant Value Description
vbAsyncStatusCodeError 0 An error occurred during the asynchronous download.
vbAsyncStatusCodeFindingResource 1 AsyncRead is finding the resource specified in AsyncProperty.Status that holds the storage being downloaded.
vbAsyncStatusCodeConnecting 2 AsyncRead is connecting to the resource specified in AsyncProperty.Status that holds the storage being downloaded.
vbAsyncStatusCodeRedirecting 3 AsyncRead has been redirected to a different location specified in AsyncRead.Property.Status.
vbAsyncStatusCodeBeginDownloadData 4 AsyncRead has begun receiving data for the storage specified in AsyncProperty.Status.
vbAsyncStatusCodeDownloadingData 5 AsyncRead has received more data for the storage specified in AsyncProperty.Status.
vbAsyncStatusCodeEndDownloadData 6 AsyncRead has finished receiving data for the storage specified in AsyncProperty.Status.
vbAsyncStatusCodeUsingCashedCopy 10 AsyncRead is retrieving the requested storage from a cached copy. AsyncProperty.Status is empty.
vbAsyncStatusCodeSendingRequest 11 AsyncRead is requesting the storage specified in AsyncProperty.Status.
vbAsybcStatusCodeMIMETypeAvailable 13 The MIME type of the requested storage is specified in AsyncProperty.Status.
vbAsyncStatusCodeCacheFileNameAvailable 14 The filename of the local file cache for requested storage is specified in AsyncProperty.Status.
vbAsyncStatusCodeBeginSyncOperation 15 The AsyncRead will operate synchronously.
vbAsyncstatusCodeEndSyncOperation 16 The AsyncRead has completed synchronous operation.