DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: returning gifs or jpg from a asp in a <img src=".....asp"...>

  1. #1
    lemmy Guest

    returning gifs or jpg from a asp in a <img src=".....asp"...>


    I have a page that contains a img tag calling an asp wich returns
    an image... HOW I DO THIS RETURNING????

    ive tried some like this, but alwais fails

    path="\INETPUB\WWWROOT\BANNERASP"
    Set fso = CreateObject("Scripting.FileSystemObject")
    Set f = fso.OpenTextFile(path & "\" & elegido, 1)
    ReadAllTextFile = f.ReadAll

    response.binarywrite f


    need your help! thanks

  2. #2
    Amit Guest

    Re: returning gifs or jpg from a asp in a <img src=".....asp"...>


    Use this link. It has details in it.
    http://support.microsoft.com/support.../Q264/0/96.ASP
    -Amit

    "lemmy" <lorenzo@icapax.com> wrote:
    >
    >I have a page that contains a img tag calling an asp wich returns
    >an image... HOW I DO THIS RETURNING????
    >
    >ive tried some like this, but alwais fails
    >
    > path="\INETPUB\WWWROOT\BANNERASP"
    > Set fso = CreateObject("Scripting.FileSystemObject")
    > Set f = fso.OpenTextFile(path & "\" & elegido, 1)
    > ReadAllTextFile = f.ReadAll
    >
    > response.binarywrite f
    >
    >
    >need your help! thanks



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center