Jump to content

List box add and loop

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
D00M

D00M

    Newbie

  • Members
  • PipPip
  • 18 posts
i want to code a button that copies a specific word from a site and add it to list box i know how to add in listbox but i don`t know how to copy from a site anything like i want to copy every thing between ' written here' and add the same to list box

#2
questionspoint

questionspoint

    Newbie

  • Members
  • PipPip
  • 15 posts
use webclient
Dim webClient As New System.Net.WebClient
DownloadFile("http://forum.codecall.net/visual-basic-programming/26087-list-box-add-loop.html", "C:\spider.html")

once you have the web page html, use regular expression to filter whatever you want.

you can save web page content to a string also.