Link to home
Start Free TrialLog in
Avatar of Jimmy_A
Jimmy_A

asked on

Using WebBrowser Control: Getting list of links

Hi,

Basically, I have a form with a webbrowser on it. When a user presses a button, the webbrowser navigates to a website, and then waits until it is loaded. Once it has loaded, I want the program to find all links on the page starting with "http://www.whatever.com/about.php?site=". Next, I want it to put them into an array along with the numbers in the querystring (after "?site="). Then, I want it to count the number of things in the array :-).

Is this possible? I would really appreciate it if someone could help me out.

Thanks a lot!
Avatar of bingie
bingie

Yup, its possible..whats the address of the site?
ASKER CERTIFIED SOLUTION
Avatar of YohanShminge
YohanShminge

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
Thank you!  And for anyone else who stumbled across this question... I just noticed that the plus sign got deleted when I posted.  This line:

ReDim links(UBound(links)   1)

Should be

ReDim links(UBound(links) + 1)