blah blah blah is here! blah blah » Close

up0down
link

Hi, I´m creating a windows forms program that is used for creating accounts online on a few different websites.

Everything is working fine exept the captcha code of course. Now please don't misunderstand me, I'm not out to spam pages or anything like that.

What I want to do here is to somehow "copy" the generated captcha image and present it on my windows form. The problem is that the "src=" in the HTML tag doesn't call for a static URL, but calls a PHP-page that generates the captcha. I hope you understand what I want to do.. if not, please ask and I will try to be more clear.

last answered one year ago

1 answers

up0down
link

Static solution theory
if you know this image source (name on page) you can attemt to load it as image to your program.
eg http://loadpage.com/code.png ...

Dynamic solution theory
I would open(load) page into string and search for the string that contain <img src="imagelink"> and after load it.

Depends on technology used,
still i am of the opinion this is the best way to approach the problem.

cannot help more as have never done this before.
good luck

Feedback