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

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

Jump to Post

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 learning and sharing knowledge.