Storing images in a Access 2000 Database with ADO to Access the Database


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Storing images in a Access 2000 Database with ADO to Access the Database

  1. #1
    Ben Guest

    Storing images in a Access 2000 Database with ADO to Access the Database


    Hello people,
    I have abit of a problem I hope you can help me with,

    I want to store images in an Access 2000 database so that I can send the
    database to anouther computer and open it using ADO and retrieve the image
    to print it. I have tried alsorts of methods but when I try to open the
    image on the new computer it gives me an error saying that the image I am
    trying to open does not exist (which it wouldnt).

    Any help would be great

    Cheers
    Ben


  2. #2
    Bob Rouse Guest

    Re: Storing images in a Access 2000 Database with ADO to Access the Database


    You will need to store the image as a BLOB. Visual Basic Programmers Journal
    just did an article on this very subject. Check the Feb 2001 issue. The code
    listing locator code is "VB0102GS". IF you are a DevX Premier club member,
    you can read the article on-line by using locator code "VB0102GS_T".

    "Ben" <Ben@intec-systems.co.uk> wrote:
    >
    >Hello people,
    > I have abit of a problem I hope you can help me with,
    >
    >I want to store images in an Access 2000 database so that I can send the
    >database to anouther computer and open it using ADO and retrieve the image
    >to print it. I have tried alsorts of methods but when I try to open the
    >image on the new computer it gives me an error saying that the image I am
    >trying to open does not exist (which it wouldnt).
    >
    >Any help would be great
    >
    >Cheers
    >Ben
    >



  3. #3
    Andrew Grillage Guest

    Re: Storing images in a Access 2000 Database with ADO to Access the Database

    http://www.concresco.com/code.htm#pictures

    Andrew Grillage


    "Ben" <Ben@intec-systems.co.uk> wrote in message
    news:3a9f949b$1@news.devx.com...
    >
    > Hello people,
    > I have abit of a problem I hope you can help me with,
    >
    > I want to store images in an Access 2000 database so that I can send the
    > database to anouther computer and open it using ADO and retrieve the image
    > to print it. I have tried alsorts of methods but when I try to open the
    > image on the new computer it gives me an error saying that the image I am
    > trying to open does not exist (which it wouldnt).
    >
    > Any help would be great
    >
    > Cheers
    > Ben
    >




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