Revoked -Trap URL click inside a application
Hello,
I am posting my old question again in a new thread cause it got back toooo far... sorry :)
I would like to know if any of you have tried this. I want to trap a url being clicked inside a html being displayed in my application. Like for example if the url being shown in the application is passing a text like ..
Code:
< a href="file:///d:/123.html?text=abc">click here</a>
On click of this url i want the my application displaying this html to capture the text that this url is trying to pass. Here this url is trying to pass a text "abc". I want the application to trap this text so that I can use this text to store the click actions and display it later in a listbox.
The HTML is being displayed in my application using internet control.
Can any one please help me in this ?
regds,
Putaaa
Re: Revoked -Trap URL click inside a application
I think you need to find code for TCP/IP trapping like a firewall, and find out if your application is the one sending a request. I would search the web. I found no hits here at vbforums.com. I believe it might be called a "sniffer".
Re: Revoked -Trap URL click inside a application
try looking into
WebBrowser1_BeforeNavigate2 event
Re: Revoked -Trap URL click inside a application
If it is a browser control, then LGS' suggestion should work for you.
Re: Revoked -Trap URL click inside a application
Quote:
Originally Posted by putta
The HTML is being displayed in my application using internet control.
A WebBrowser control?
If so, is this for any links clicked, or just that one?