1.11M Members

Change Textbox to Listbox.

 
0
 

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
Question Self-Answered as of 1 Year Ago
You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article