Thread: Webbrowser help

    #1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2004
    Posts
    3
    Rep Power
    0

    Webbrowser help


    Hi,

    I'm Creating an application that uses the url of a picture in a html file when I click on a context menu item in IE. What I need is the following:

    I have already created an entry in the context menu of IE. The option is only enabled when you right-click on a picture. Now how do I extract the URL from that piture (cfr. when you click on the properties-item) and use it in my application?

    Janius
  2. #2
  3. Banned ;)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2001
    Location
    Woodland Hills, Los Angeles County, California, USA
    Posts
    9,595
    Rep Power
    4207
    Do you know any useful information about the picture (for instance its name?) If so, you can probably go through the Document object and iterate your way down each element till you hit an IMG tag and then check its properties to see if they match.
    Up the Irons
    What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
    "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
    Down with Sharon Osbourne

    "I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo

IMN logo majestic logo threadwatch logo seochat tools logo