Discord Server Red Security Twitter Donation to Red Security Red Security Youtube Channel Red Security Tumblr Profile
Login or Register to Hide ads and Accessing all features on the forum

vb.net image url grabber

0 Replies, 1641 Views

note does not work on images.google.com
have not tested on facebook images

whats needed
2 textboxes
1 button 
1 webbrowser


small code for app source





Code:
Public Class Form1
   
    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        Me.Location = New Point(924, 405)
    End Sub

  
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        WebBrowser1.Navigate(TextBox1.Text)
    End Sub

    Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
        Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img")

        For Each CurElement As HtmlElement In PageElements

            TextBox2.Text = TextBox2.Text & CurElement.GetAttribute("src") & Environment.NewLine

        Next
    End Sub
End Class


Attached Files
.zip   imageurlgrabber.zip (Size: 74.62 KB / Downloads: 246)
[img=0x0]https://hackmyass.files.wordpress.com/2011/01/hackers.jpg[/img]

Possibly Related Threads…
Thread Author Replies Views Last Post
  virus image browser download viruss 2 2,773 06-06-2018, 10:03 AM
Last Post: Mr.Kurd
  image hasher vb.net viruss 1 2,436 04-05-2018, 04:43 PM
Last Post: Mr.Kurd



Users browsing this thread: 1 Guest(s)