Article ID: 185539
Article Last Modified on 6/29/2004
Option Explicit
Const vbAsyncTypePicture = 0
Private Sub UserControl_AsyncReadComplete(AsyncProp As
AsyncProperty)
On Error Resume Next
Set Picture1.Picture = AsyncProp.Value
End Sub
Private Sub UserControl_Initialize()
'PLEASE NOTE:
'The URL could be in the form of a shared directory,
'FTP or a HTTP. The convention below, is used as
'an example only. Do not try to use this URL as it is
'in fact bogus.
UserControl.AsyncRead _
"http://example.microsoft.com/example.jpg", _
vbAsyncTypePicture
End Sub
Label1.Caption = "Image View"
Additional query words: Internet programming kbDsupport KbDSe kbVBp500 kbVBp500 KBiNTERNET
Keywords: kbhowto KB185539