تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
جلب صور من ملف مرفوع علي pastebin
#1
السلام عليكم
لدي ملف مرفوع علي موقع pastebin فيه روابط لصور مباشرة
https://pastebin.com/raw/6au4aJGx
ده رابط الصور مباشرة عاوز كود  مثلا 1 يستدعي الصورة الاولي 2 يستدعي الصورة الثانية وهكذا
اتمني ان حد يكون فهم قصدي
انا املك كود ولكن يجلب النصوص فقط هذا هو
كود :
       Dim hwr As System.Net.HttpWebRequest = DirectCast(System.Net.WebRequest.Create("https://pastebin.com/raw/6au4aJGx"), System.Net.HttpWebRequest)
       hwr.Method = "GET"
       Dim names As List(Of String) = New List(Of String)()
       Using hwResponse As System.Net.HttpWebResponse = DirectCast(hwr.GetResponse(), System.Net.HttpWebResponse)
           Using stream As IO.Stream = hwResponse.GetResponseStream()
               Using reader As StreamReader = New StreamReader(stream)
                   While Not reader.EndOfStream
                       names.Add(reader.ReadLine())
                   End While
               End Using
           End Using
       End Using
       textbox1.Text = names(0)
       textbox2.Text = names(1)
       textbox3.Text = names(2)
الرد }}}
تم الشكر بواسطة: سعود


الردود في هذا الموضوع
جلب صور من ملف مرفوع علي pastebin - بواسطة ميدو الفنان - 03-11-20, 11:07 PM


التنقل السريع :


يقوم بقرائة الموضوع: