Results 1 to 5 of 5

Thread: Get image out of access db in asp (Resolved)

  1. #1

    Thread Starter
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478

    Question Get image out of access db in asp (Resolved)

    Can someone tell me how to retrieve an image stored in an access db and show this through asp ?

    Many answers tell me to store the path into the db, but that is not an option.

    Tried with BinaryWrite , but no success till now.

    Any one ?
    Last edited by swatty; Jun 30th, 2004 at 09:39 AM.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  3. #3

    Thread Starter
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    Tried this, doesn't work, i only get an image box with no image in it.

    Will keep on trying it this way, if there are other ways to get them images please reply.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

  4. #4
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Originally posted by swatty
    Tried this, doesn't work, i only get an image box with no image in it.

    Will keep on trying it this way, if there are other ways to get them images please reply.
    I have posted 2/3 different solution in this thread
    http://www.vbforums.com/showthread.p...ghlight=danial
    [VBF RSS Feed]

    There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.

    If I have been helpful, Please Rate my Post. Thanks.

    This post was powered by :

  5. #5

    Thread Starter
    Frenzied Member swatty's Avatar
    Join Date
    Aug 2002
    Location
    somewhere on earth
    Posts
    1,478
    All answers i found on this topic telling to use BinaryWrite.

    Seems in my project it won't work properly, i don't get an error the only thing i see is an image object with the X in it.
    Just like you want to show an image but give the wrong path to it.

    If i put the data of the image , it is reading an image object.

    Could it be some properties need to be set ???
    Don't know what else there could be wrong.


    Resolved: used path in db was only thing that worked

    Last edited by swatty; Jun 30th, 2004 at 09:41 AM.
    Code:
    If Question = Incomplete Then
       AnswerNextOne
    Else
       ReplyIfKnown
    End If
    cu Swatty

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