Is there any way to have my program respond to clicks within the user's browser? Like if they click on a file to download it places the url of the clicked file in a text box or something in my program. Any help is appreciated.
Printable View
Is there any way to have my program respond to clicks within the user's browser? Like if they click on a file to download it places the url of the clicked file in a text box or something in my program. Any help is appreciated.
I asked a similar question earlier last night, and Matthew Gates informed me of this event in the WebBrowser control:
I'm trying to figure out an easy way to intercept the clicks myself (to bypass the dialogs from IE). I'll pass along anything I find or hear.Code:Private Sub WebBrowser1_StatusTextChange(ByVal Text As String)
Label1.Caption = Text
End Sub
Well acctually I'm talking about responding to mouse clicks within a browser outside my program. The browser is not inside my app. Like if my app is in the system tray, and a user clicks a link in an open browser window, thats when I want my program to respond.
Ah, I see. That's beyond my abilities :D But I'm sure it can be done somehow.
I'm sure It can too. But it doesnt seem like anyone has any suggestions. I know programs like getright/gozilla have this function but they aren't coded in vb.
Maybe this helps:
http://www.freevbcode.com/ShowCode.Asp?ID=1606