Link to home
Start Free TrialLog in
Avatar of Alextruj
Alextruj

asked on

read web page text from list of url's using vb6

Need to read the information of 5 or more url's.
The url's are on a list.
Need to run through the list and save each page's text.

I used the webbrowser control, but it only works when i read one web page.
If i try to read the whole list, it doesn't work.

Used:

webbrowser.navigate url

while webbrowser.busy
doevent()
wend

then got the innertext of the page.

It works when one url is searched.


when the code is in a loop

i.e.

for ' amount on the list

webbrowser.navigate url

while webbrowser.busy
doevent()
wend

then got the innertext of the page here.
save it.

next


when i use the loop, it doesn't return the text
it goes through the loop, but no text is returned.


need help
Thanks




ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial