Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionPrivate Sub Timer2_Timer() Dim errcode As Long Dim localFileName As String Dim url() As String ReDim url(2) url(0) = "http://printeva.com/public/images/logo.jpg" url(1) = "http://static.ccm2.net/www.commentcamarche.net/_skin/_local/img/logo.png" url(2) = "http://www.vbfrance.com/g/logos/normal/logovb.png" 'url 'localFileName = VB.App.Path & "\Printeva.jpg" 'errcode = URLDownloadToFile(0, url, localFileName, 0, 0) If errcode = 0 Then PicturePub = VB.LoadPicture(localFileName) Else End If End Sub
dim i as integer for i = 0 to ubound(url) ..............conjuques ici avec ton 1er code deb = timer do while timer < deb + 3 ' attente de tes 3 secondes) doevents loop next