Upload images to Access database

Ask a Question related to ASP Components, Design and Development.

  1. #1

    Default Upload images to Access database

    How can I easy upload picture to an MS access database.


    . . . . . Guest

  2. Similar Questions and Discussions

    1. Upload File to Access Database
      I have a Dreamweaver Page which is attached to a MS Access Database in Cold Fusion. In the page is a browse button which opens the select file...
    2. upload a jpg file to an access database...???
      I think I heard that you can't have a jpg in an access database, however you could point to where the jpg was from within the database. What I need...
    3. upload a jpg to an access database?
      Is it possible to upload a jpg file into a access database or is there a better method for diplaying user uploaded pictures? I want registered users...
    4. a Free way to upload database images?
      Hello stuff that dreamweavers are made of. Im trying endlessly to search for ways to upload images from my .asp pages using JS into a database. ...
    5. Script to upload images and add to database?
      Is there a script that will allow upload of multiple images at once to a FTP server, and simultaneously write that list to a MySQL table? I need to...
  3. #2

    Default Re: Upload images to Access database

    this is generally a bad idea. Access is inefficient enough without
    cramming it full of OLE objects - and pulling them back out is hardly a
    trivial tasks (Access wraps them in an OLE header which needs to be
    removed before display)

    hence, generally it's not a great idea to put images in an Access DB.
    store the path and put the images in the filesystem.




    ________________________________________
    Atrax. MVP, IIS
    [url]http://rtfm.atrax.co.uk/[/url]

    newsflash : Atrax.Richedit 1.0 now released.
    [url]http://rtfm.atrax.co.uk/infinitemonkeys/components/Atrax.RichEdit/[/url]

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Atrax Guest

  4. #3

    Default Re: Upload images to Access database


    Hello,

    Active Image home page: [url]http://www.tonec.com/download4.html[/url]

    writedb.vbs
    ======
    Dim im, rs
    Set im = CreateObject("ActiveImage.Images.1")
    im.ReadFromFile "C:\AI\diagram.png"
    Set rs = CreateObject("adodb.recordset")
    Set conn = CreateObject("adodb.Connection")
    conn.Open "tonec"

    rs.Open "pictures", conn, 2,3
    rs.AddNew
    im.WriteToDatabase rs.Fields("Bitmap")
    rs.Update
    rs.Close
    im.DestroyImage
    Set im = nothing
    ======

    You can download the demo version of AI and see whether it works for you or
    not.

    Anton Deve

    AI Support
    Tonec Inc.

    ". . . . ." <webmaster@mail.ru>
    news:uDzmgZ$SDHA.632@TK2MSFTNGP12.phx.gbl...
    > How can I easy upload picture to an MS access database.
    >
    >

    Anton Deve Guest

  5. #4

    Default Re: Upload images to Access database

    Here is a resource for letting the user upload a file which is something
    that was unfortunately not built into ASP:

    ASP File Upload Using VBScript by John R. Lewis - 7/10/2000
    [url]http://www.aspzone.com/articles/john/aspUpload[/url]

    Best regards,
    J. Paul Schmidt, Freelance ASP Web Developer
    [url]http://www.Bullschmidt.com[/url]
    ASP Design Tips, ASP Web Database Demo, Free ASP Bar Chart Tool...


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Bullschmidt Guest

  6. #5

    Default Re: Upload images to Access database

    I have a good sample:
    [url]http://www.dalun.com/ftp/fupload.zip[/url]

    Once you get the safe array of the image, you can do putchunk call to your
    db. sample code included.

    ". . . . ." <webmaster@mail.ru> wrote in message
    news:uDzmgZ$SDHA.632@TK2MSFTNGP12.phx.gbl...
    > How can I easy upload picture to an MS access database.
    >
    >

    John Smith Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139