Question [HELP] WebBrowser Fill

NatePro

Member
Joined
Jan 18, 2009
Messages
10
Programming Experience
1-3
Hello,
I'm currently making a Program that will automatically and randomly fill in Username and stuff like that, in a webbrowser. A yahoo account maker.
and i'm stuck at the part with that image. I want to copy the image to a Picture Box inside the Visual Basic 2008 program.

here are the picture code:
<img id="cimg" src="https://ab.login.yahoo.com/img/SwgoPuJZFemYrfT05vzXbahH_YSHV39vFctGO9T.sewor.DlU.maIgc0AdANSWuIJT_OpLP70sXZCNi4SMLlt7Rl_jKzbr1cRoHPC6c-.jpg"/>

And i only need:
https://ab.login.yahoo.com/img/Swgo...IJT_OpLP70sXZCNi4SMLlt7Rl_jKzbr1cRoHPC6c-.jpg

Thanks for all help! :)
 
How about Substring?
VB.NET:
PictureCode = PictureCode.Substring(20)
PictureCode = PictureCode.Substring(0, PictureCode.Length - 3)
Or replace?
VB.NET:
PictureCode = PictureCode.Replace("<img id=""cimg"" src=""", "")
PictureCode = PictureCode.Replace("""/>")

Also RegEx would be an option...

Bobby
 
Now i changed site... so i got a new code:
<IMG id=iHipImage title="Bilde med 8 tegn" style="DISPLAY: block" height=48 alt="Bilde med 8 tegn" src="https://hipservice.live.com/hipImageDirect.srf?id=68692&config=Hard8Char&tk=1233083656421" width=218>
 
Back
Top