ok heres up i want to do...i want to search a webpage for a link....heres the text im talking about ... (<img src="http://somewebsite.com/i/DTI5fOdZFellZUGo0cWdP8InhxoC.7v3oqfeuak2_3Ky2rC7AawJ.jpg")
the thing is, the somewebsite.com/i/ is there everytime but the DTI5fOdZFellZUGo0cWdP8InhxoC.7v3oqfeuak2_3Ky2rC7AawJ is generated on the fly....so wut i want to do, is first of all search for the link....ive alrdy got this....
so my webpage is already in the textbox....now i need to search for the unknown text between <img src="http://somewebsite.com/i/ and .jpg"Code:Private Sub TB_Get_Word_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TB_Get_Word.Click Dim GetWordPageStream As New System.Net.WebClient() Dim StreamReader(999) As Byte Dim GetWordPage As String Dim NewWordUrl As String StreamReader = GetWordPageStream.DownloadData("www.somewebsite.com/index.html") GetWordPage &= System.Text.Encoding.UTF8.GetString(StreamReader) TextBox1.Text = GetWordPage End Sub
can any1 help?
AcE


Reply With Quote