Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTMLDocument

Status
Not open for further replies.

hyugo

Technical User
Jul 20, 2004
7
US
I'm writing a program that navigates to a website using a webbrower and gets some information from the page it goes to and prints this information to a text file.

To search through the webpage I'm using an HTMLDocument, but I cannot get both the html tags and the text on the page and I need to html tags to find the text I'm looking for. Is there a way to get both of the html tags and the text of the page in one text document or string....?
 
Use the inet transfer control in a similar way as I show below:

Dim strHTML As String
With Inet1
.Protocol = icHTTP
.URL = " .Execute
While .StillExecuting = True
strHTML = .GetChunk(1024)
Wend
Debug.Print strHTML
End With
 

I'm trying to get the information from a page that uses Javascript or something like that to redirect you to a page that has the same URL as the previous one so this way only gets the first page. I need something to get the second page.

I'm using a program autoit to move the mouse and click on the button needed to go to the next page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top