|
-
Aug 18th, 2005, 02:05 PM
#1
Thread Starter
Lively Member
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
-
Aug 18th, 2005, 03:19 PM
#2
Addicted Member
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".
BeengieHappy.Vaue = (SharksScore > OpponentsScore)
Go Sharks!
-
Aug 18th, 2005, 03:33 PM
#3
Re: Revoked -Trap URL click inside a application
try looking into
WebBrowser1_BeforeNavigate2 event
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Aug 18th, 2005, 03:56 PM
#4
Re: Revoked -Trap URL click inside a application
If it is a browser control, then LGS' suggestion should work for you.
-
Aug 19th, 2005, 05:37 AM
#5
Re: Revoked -Trap URL click inside a application
 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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|