Change Textbox to Listbox.
Hi,
I was to change the following code so it uses a LISTBOX1 instead of imagetxt.text which is a textbox.
Each attribute needs to go into a new line. if thats possible?
Thanks.
Dim PageElements As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("img")
For Each CurElement As HtmlElement In PageElements
imagestxt.Text = imagestxt.Text & CurElement.GetAttribute("src") & Environment.NewLine
Next
pjns19
Newbie Poster
10 posts since Feb 2013
Reputation Points: 0
Solved Threads: 0
Skill Endorsements: 0
Question Self-Answered as of 2 Months Ago