How Can I Determine What Link The Mouse Just Clicked?

I'm trying to create a download manager, however i don't know how to tell if the mouse just clicked a link that doesn't tell the webbrowser to go someplace. I need to know this so that i can tell the program that when this happens, to start asking to download. Could someone please help me? If someone is willing to, do you need some more information?
[355 byte] By [scienceboy] at [2007-12-24]
# 1
well what control are you using to display the links? either way I guess, just check the label that was clicked on the click/double click event and determine what the link was.
ahmedilyas at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 2
well, i was doing it in the WebBrowser control. The structure was that it loaded the web page adn then when the mouse would click the link it would download, but i didn't know when the mouse would click the link

i'll try it your way. thanks!

scienceboy at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 3

Is this download manager - to download a .NET application

If so then if you publish you application using click once - it creats a publish web page - which you click on the install link and it installs the application. So all you need to actually do is publish your application to a web server.

spotty at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...
# 4
... i didn't really understand what you said, but then again i am a real n00b at this. only started a month or so ago
but, ahmedilyas' advice worked. i can now experiment with it
thanks anyways!
scienceboy at 2007-8-31 > top of Msdn Tech,Visual Basic,Visual Basic Language...