We're a community of 1077K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,076,304 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

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
1
Contributor
0
Replies
8
Views
Question
Answered
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

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0551 seconds using 2.64MB