- iBotModz
- → derekchrisp's Content
iBotModz CBox
derekchrisp's Content
There have been 6 items by derekchrisp (Search limited from 01-July 23)
By content type
See this member's
#111573 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 06 January 2010 - 07:17 AM in Coding / Development
#111606 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 07 January 2010 - 06:56 AM in Coding / Development
but tried like this
foreach (HtmlElement images in webBrowser1.Document.Images) { if (images.GetAttribute("src").Contains("http://api.recaptcha.net/image?c=")) { string url = images.GetAttribute("src"); pictureBox1.ImageLocation = url; break; } }
Picture box stays empty. Not sure what im doing wrong
#111607 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 07 January 2010 - 07:49 AM in Coding / Development
#111611 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 07 January 2010 - 10:46 AM in Coding / Development
Testing with mixx registration page https://www.mixx.com/register
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace test2 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { foreach (HtmlElement images in webBrowser1.Document.Images) { if (images.GetAttribute("src").Contains("http://api.recaptcha.net/image?c=")) { string url = images.GetAttribute("src"); pictureBox1.ImageLocation = url; break; } } } private void goButton_Click(object sender, EventArgs e) { webBrowser1.Navigate(txtUrl.Text); } private void pictureBox1_Click(object sender, EventArgs e) { } private void txtUrl_TextChanged_1(object sender, EventArgs e) { } } }
#111613 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 07 January 2010 - 11:11 AM in Coding / Development
Hey i added you in msn im kaidoristm@
#111688 C# Loading reCaptcha into a imagebox
Posted by derekchrisp on 09 January 2010 - 11:54 AM in Coding / Development
Community Forum Software by IP.Board 3.4.6
Licensed to: Connor (iBotPeaches)