Results 1 to 5 of 5

Thread: Revoked -Trap URL click inside a application

  1. #1

    Thread Starter
    Lively Member putta's Avatar
    Join Date
    Oct 2004
    Location
    Original Citizen Of This Planet
    Posts
    86

    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

  2. #2
    Addicted Member Beengie's Avatar
    Join Date
    Nov 2003
    Location
    Central Valley, CA
    Posts
    243

    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!

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    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"

  4. #4
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    Re: Revoked -Trap URL click inside a application

    If it is a browser control, then LGS' suggestion should work for you.

  5. #5
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width