Jump to content
zachary1337

Nu apare Captcha :@

Recommended Posts

Posted

Nu imi mai apare Captcha in PictureBox , pana acum am reusit , acum nu mai vrea nicicum

am bagat un web , picturebox si nimic ... nu mai apare

   Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
For Each Captcha As HtmlElement In WebBrowser1.Document.Images
On Error Resume Next
If Captcha.GetAttribute("src").Contains("http://www.google.com/recaptcha/api/image?") Then
PictureBox1.Load(Captcha.GetAttribute("src"))
End If
Next
End If

Posted

Te compici prea mult...

6M6jslR.png

PictureBox1.Load(WebBrowser1.Document.GetElementById("recaptcha_challenge_image").GetAttribute("src"))

Si daca vrei tu sa apara cand se incarca complet WebBrowser-ul

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
PictureBox1.Load(WebBrowser1.Document.GetElementById("recaptcha_challenge_image").GetAttribute("src"))
Else

End If
End Sub

  • Downvote 1
Posted
Te compici prea mult...

6M6jslR.png

PictureBox1.Load(WebBrowser1.Document.GetElementById("recaptcha_challenge_image").GetAttribute("src"))

Si daca vrei tu sa apara cand se incarca complet WebBrowser-ul

Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
If WebBrowser1.ReadyState = WebBrowserReadyState.Complete Then
PictureBox1.Load(WebBrowser1.Document.GetElementById("recaptcha_challenge_image").GetAttribute("src"))
Else

End If
End Sub

am vrut sa bag asa dar am vrut sa bag captcha de pe google ca acolo e numeric si e mai usor asta cu litere incalcite :)) , da am luat de pe alt site , mersi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...