VB.NET snip:
Code: 
Dim downloadcaptcha As New WebClient
downloadcaptcha.DownloadFile("http://rapidgator.net" & .ParseBetween(hr.Html, "id=""yw0"" src=""", """ alt="" />", "id=""yw0"" src=""".Length), CurDir() & "\captcha.png")
PictureBox1.Image = Image.FromFile(CurDir() & "\captcha.png")
a little piece of what I used to grab the captcha of rapidgator and put it in a picturebox. and btw I did not use web browsers for the other parts (I hate when people use those bloated pieces of shit).