I'v tried it and it's not working for me but it's not giving me any errors neither any result :/
Code:Dim AviPic As String = Wrapper.Between(strHtml, "<img src=" & Chr(34), Chr(34) & " alt=" & Chr(34) & "My Avatar") PictureBox1.ImageLocation = AviPicCode:Dim GOGold As String = Wrapper.Between(strHtml, "Gold: </span>", "<") Label3.Text = "Gold: " & GOGold
Results 1 to 4 of 4
Thread: whats wrong with this code?
- 20 Aug. 2011 05:29pm #1
whats wrong with this code?
- 20 Aug. 2011 05:33pm #2
Your assigning variables as soon as they are declared.
it could be that strHTML hasn't been used at all yet, and its trying to grab the String between an empty variable.
- 20 Aug. 2011 06:05pm #3
PictureBoxName.URL (I think) = Wrapper.Between(strHtml, "<img src=" & Chr(34), Chr(34) & " alt=" & Chr(34) & "My Avatar")
- 23 Aug. 2011 03:51pm #4
It's ImageLocation.
Code:PictureBox.ImageLocation = Image'sURL.ToString