Well, you'd have to be searching through the HTML and not the outputted text in order to detect links. To get the HTML, use this line of code to put the HTML into a string of your choice:
CODE
String = WebBrowser1.Document.documentElement.Outerhtml
Use the InStr() function to search for "<a href" (make sure to specify that it not be case-sensitive), and then when it finds that particular tag, have it find the next ">", and then make it look at the text between the ">" and the "<a/>".
You'll need to go through another process where it removes all tags from the text you've found as a link, because it may contain text-modifiers like "<b>" and whatnot. After that, simply check if it's the appropriate text.
If the text turns out to be right, then have it take the text from between the first quote and second quote that is within the prior "<a href" tag, and make your browser navigate there. This may need some work as web pages linking to inner pages of their own website will probably not be providing the full URL to the location of the page.
This isn't exactly step-for-step as I left out some important details like that you have to have it remember the locations of all these tags, but this is a way to do it, and definitely the way I would.
This post has been edited by Zhalix: 1 Aug, 2008 - 11:28 AM