Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21273

Need an idea for loading CAPTCHA into picturebox

$
0
0
Hello,

I'm working on a program that automatically fills out a web form and submits it. The form I'm working on has got dynamic CAPTCHA. The CAPTCHA url used in that webpage is like example.com/include/captcha/cap_comment.php

The past days I have been all searching for a solution to load the same CAPTCHA into the Picturebox as the webpage loads into the Webbrowser control.

I have tried to save the whole webpage from the Webbrowser and then get the CAPTCHA picture from the saved webpage folder into the Picturebox. But it shows the Save As dialog and there is no way to save the Webbrowser's content without user's interact.

Then I used UrlDownloadToFile API to download the CAPTCHA image. Actually it works but the problem is that the CAPTCHA downloaded by the API is different than the CAPTCHA loaded into the Webbrowser.

Anyone got any ideas about how can I load the same CAPTCHA in the Webbrowser control to the Picturebox?

Thanks in advance.

Viewing all articles
Browse latest Browse all 21273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>