Hyperlink.ImageUrl with c:\program files\somefolder\picture.jpeg does not work

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pat

    Hyperlink.ImageUrl with c:\program files\somefolder\picture.jpeg does not work

    Hi,
    I have a picture somewhere under 'Program Files' Folder.
    When I assign ImageURL to a Hyperlink it does nothing. It does not read the
    picture file.
    But when I copy that picture to c:\somepicture. jpeg and assign this to
    imageURL then it works.

    How can I make it work directly from somefolder under program files.

    Thanks in advance.
    Pat


  • rote

    #2
    Re: Hyperlink.Image Url with c:\program files\somefolde r\picture.jpeg does not work

    The Program Files folder is a ssystem folder why do you want to load images
    from there (You might not even have enough permission on it)
    Copy the image to another folder as you did before.
    Patrick
    "Pat" <Pat@noswpam.co mwrote in message
    news:%23841%23C qPJHA.3560@TK2M SFTNGP02.phx.gb l...
    Hi,
    I have a picture somewhere under 'Program Files' Folder.
    When I assign ImageURL to a Hyperlink it does nothing. It does not read
    the picture file.
    But when I copy that picture to c:\somepicture. jpeg and assign this to
    imageURL then it works.
    >
    How can I make it work directly from somefolder under program files.
    >
    Thanks in advance.
    Pat
    >
    >

    Comment

    • =?ISO-8859-1?Q?G=F6ran_Andersson?=

      #3
      Re: Hyperlink.Image Url with c:\program files\somefolde r\picture.jpegd oes not work

      Pat wrote:
      Hi,
      I have a picture somewhere under 'Program Files' Folder.
      When I assign ImageURL to a Hyperlink it does nothing. It does not read the
      picture file.
      But when I copy that picture to c:\somepicture. jpeg and assign this to
      imageURL then it works.
      >
      How can I make it work directly from somefolder under program files.
      >
      Thanks in advance.
      Pat
      >
      You can only use a folder within a web application if you want it to
      work as a normal web application. Any folder outside the web root will
      only be accessible in the special case when you are using the same
      computer as both server and client.

      --
      Göran Andersson
      _____
      Göran Anderssons privata hemsida.

      Comment

      Working...