I am currently trying to load a captcha image in a picture box from Twitter.. the current code I have is this: Code: Dim texts As New TextBox Dim allelements2 As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img") For Each webpageselement As HtmlElement In allelements2 If webpageselement.GetAttribute("id").ToString.Contains("recaptcha_image") Then texts.AppendText(webpageselement.GetAttribute("src")) PictureBox1.Image = New System.Drawing.Bitmap(New IO.MemoryStream(New System.Net.WebClient().DownloadData(texts.Text))) End If Next What am I doing wrong?