Hey guys, anyone know if it is somehow possible to grab in picturebox image from website by its id? Its simple captcha i want to show it in picturebox?

Recommended Answers

All 3 Replies

Example want something like this:

 WebBrowser1.Document.GetElementById("imgCaptcha").GetAttribute(PictureBox1.Image)

That one doesnt work xP

Yes its possible. Without knowing more about the site, or it's markup, it's impossible to give a more detailed answer.

<img id="imgCaptcha" src="/capt.ashx?d=0.0244893804306581" alt="Captcha" align="middle" style="height:34px;width:180px;">

I tried loading it from url but everytime u open url u get new captcha

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.