Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/10/2005, 11:24
LeandroA
 
Fecha de Ingreso: abril-2005
Mensajes: 351
Antigüedad: 19 años, 7 meses
Puntos: 3
Hola primero deves vajar la imagen i luego la lees te paso un ejemplo

Private Declare Function URLDownloadToFile Lib "urlmon" Alias "URLDownloadToFileA" (ByVal pCaller As Long, ByVal szURL As String, ByVal szFileName As String, ByVal dwReserved As Long, ByVal lpfnCB As Long) As Long
Public Function DownloadFile(URL As String, LocalFilename As String) As Boolean
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, URL, LocalFilename, 0, 0)
If lngRetVal = 0 Then DownloadFile = True
End Function

Private Sub Command1_Click()
DownloadFile "http://usuarios.lycos.es/palaceofexile/Imagenes/jim31.jpg", App.Path + "\Imagen.jpg"
Image1 = LoadPicture(App.Path + "\imagen.jpg")
End Sub