Notes
![]() ![]() Notes - notes.io |
Dim unsuccessful
Dim success
Dim islem As String
Dim selectedfolder
Dim createdDir
Dim sURL As String
Dim sLocalFile As String
Dim sDestination As String
Dim sText As String
Dim PPTShape
Dim fileName
Dim Dirs(1 To 21) As String
Dirs(1) = "detail_product1"
Dirs(2) = "detail_product2"
Dirs(3) = "detail_product3"
Dirs(4) = "detail_product4"
Dirs(5) = "podium"
Dirs(6) = "product"
Dirs(7) = "push"
Dirs(8) = "smallSwatch"
Dirs(9) = "up_cross"
Dirs(10) = "view1"
Dirs(11) = "view2"
Dirs(12) = "view3"
Dirs(13) = "view4"
Dirs(14) = "window1"
Dirs(15) = "window2"
Dirs(16) = "window3"
Dirs(17) = "window4"
Dirs(18) = "zoom1"
Dirs(19) = "zoom2"
Dirs(20) = "zoom3"
Dirs(21) = "zoom4"
Dim Countrys(1 To 5) As String
Countrys(1) = "http://www.yves-rocher.de"
Countrys(2) = "http://www.yves-rocher.co.uk"
Countrys(3) = "http://www.yvesrocherusa.com"
Countrys(4) = "http://www.yves-rocher.es"
Countrys(5) = "http://www.yves-rocher.no"
selectedfolder = OpenFolder()
Dim products() As String
products = Split(TextBox1.Text, vbCrLf)
productsCount = UBound(products) - LBound(products) + 1
unsuccessful = 0
For p = 0 To productsCount - 1
For c = 1 To 5
CreateDir (selectedfolder & "" & Dirs(1))
createdDir = selectedfolder & "" & Dirs(1) & ""
fileName = products(p) & ".jpg"
sURL = Countrys(c) & "/images/catalog/products/" & Dirs(1) & "/" & fileName
sLocalFile = createdDir & fileName
islem = DownloadFile(sURL, sLocalFile)
If islem = "True" Then
For i = 2 To 21
CreateDir (selectedfolder & "" & Dirs(i))
createdDir = selectedfolder & "" & Dirs(i) & ""
If i = 8 Then
fileName = products(p) & ".gif"
Else
fileName = products(p) & ".jpg"
End If
sURL = Countrys(c) & "/images/catalog/products/" & Dirs(i) & "/" & fileName
sLocalFile = createdDir & fileName
islem = DownloadFile(sURL, sLocalFile)
Next i
If c = 1 Then
ListBox2.AddItem (products(p) & " - " & "Almanya")
ElseIf c = 2 Then
ListBox2.AddItem (products(p) & " - " & "İngiltere")
ElseIf c = 3 Then
ListBox2.AddItem (products(p) & " - " & "ABD")
ElseIf c = 4 Then
ListBox2.AddItem (products(p) & " - " & "İspanya")
ElseIf c = 5 Then
ListBox2.AddItem (products(p) & " - " & "Norveç")
End If
Exit For
ElseIf c = 5 Then
unsuccessful = unsuccessful + 1
ListBox1.AddItem products(p)
End If
Next c
Next p
Label3.Caption = (productsCount - unsuccessful) & " başarılı, " & unsuccessful & " başarısız."
MsgBox "İndirme Tamamlandı!"
End Sub
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team