Results 1 to 5 of 5

Thread: Browser control and href's

  1. #1

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Helsinki, Finland
    Posts
    3

    Post

    I'm using a browser control in my application and I was wondering the following:

    When I display a html page in the control, is it possible to track when the user clicks on
    a link (a href="...") and then take action according to the link he clicked. For example when
    a user clicks "more info" in the html page, the application would pop up a new form that
    displays the info (while the actual link in the html would just refer back to the same page.

  2. #2
    Lively Member markwel's Avatar
    Join Date
    Jan 2001
    Location
    Chennai, India
    Posts
    104
    Hai,

    I Think it's enough for your queries.

    Webbrowser1.navigate moreinfo
    (webbrowser1.navigate "www.vb-world.net")

    Any doubt. Send us more info.

    Thanx
    Soma Sundaram R
    3/480, Lakshmana Perumal Street
    Kottivakkam
    Chennai, India

    [email protected]
    http://somasundaram.cjb.com
    Develop Your Own Browser-->http://www.vbsquare.com/internet/browser/

  3. #3
    Fanatic Member Jerry Grant's Avatar
    Join Date
    Jul 2000
    Location
    Dorset, UK
    Posts
    810

    Question ?????????

    Are you asking for the soloution in DHTML (VBscript or JScript) or VB?
    Jerry Grant................tnarG yrreJ
    Website: <JG-Design></.net>
    Email: [email protected]
    Working towards a bug free world......
    (Not a Microsoft employee)

  4. #4

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Helsinki, Finland
    Posts
    3

    more...

    Actually, I was figuring out a way to tell my application what link the user clicked in the webpage displayed by the webbrowser object. So that if I have links 1, 2, and 3, the application would pop up Form1 when the user clicks on link 1 and so on. In html the link would just lead back to the same page the links are on but somehow I need to relay the information of the link clicked to the application.

  5. #5

    Thread Starter
    New Member
    Join Date
    Mar 2000
    Location
    Helsinki, Finland
    Posts
    3

    Solution found

    Thank you for your time, I just found a solution to my problem.

    Gee, my first appearance on the boards and I registered last year....Whew

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