I want to be able to start at page one of a search query and get all the images from the site then move on to the next page and collect all the data then the next.
Here's the crawl routine:
Sub CrawlPages(ByVal max_pages As Short, ByVal url As String, ByVal type As String) Dim i As Short Dim page_data As StringCollection Select Case type Case "Image" System.Windows.Forms.Application.DoEvents() For Each i As Integer In page_data ' I don't know what to put here and plus I don't think I have it right. Next End Select End Sub
It says that 'i' has a hidden varible inside the block. So basically this routine will do is crawl to the maxium pages the user specified in the new search form then on each page it will obtain data storing it into a string collection. After it's done then it will prepare it to download into the cache folder.
Thanks guys!

New Topic/Question
Reply



MultiQuote





|