Hi everyone,

I have a webbrowser which displays a webpage. I need to capture the text of any links that are clicked on that webpage. For example if the link 'certificates' is displayed then I need to capture the url of that link (which I can do) and the text of the link i.e. 'certificates' when the link is clicked by the user. If anyone has any solutions as to how to solve this then that would be great.

Thanks in advance.

SubProf

Recommended Answers

All 4 Replies

Is the web browser part of your app or a generic one installed on the PC?

If its part of your app you stand a much better chance of doing it.

LizR,

the web browser is part of my application. Do you know of any way to capture the text of the clicked link?

Thanks again,

SubProf

Well when you click it the document will change if you check the events you should be able to keep track of all the links you click.

LizR,

I will try your suggestion. Thanks

SubProf

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.