Connecting Tech Pros Worldwide Help | Site Map

Storing OLE

  #1  
Old November 13th, 2005, 09:59 AM
T23459
Guest
 
Posts: n/a

Re: storing jpg images in Access.
I have a database that requires adding pictures (jpegs) on a regular basis.
OLE field.
Even if they are only 320x240 large, I can see - over time, that the amount
of space these pics will take up will be great.
Does linking the pics still copy these pics in the database?
Any suggestions on a practical approach to keeping the database functioning
smoothly over the coming years with the regular addition of pics on a
regular basis ?
thanks


  #2  
Old November 13th, 2005, 10:00 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a

re: Storing OLE


where's Larry Linson's canned response to this?
Short answer - don't store your images in the database, just link to
them. You can use the OpenSaveFile API to grab the path to the file
see the API section of www.mvps.org

  #3  
Old November 13th, 2005, 10:00 AM
Douglas J. Steele
Guest
 
Posts: n/a

re: Storing OLE


<pietlinden@hotmail.com> wrote in message
news:1113700149.648990.237560@l41g2000cwc.googlegr oups.com...[color=blue]
> where's Larry Linson's canned response to this?[/color]

You mean:

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects.

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

If you've already starting storing images in your database, and you'd like
to export them all, see: http://www.lebans.com/oletodisk.htm



<g>

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)




  #4  
Old November 13th, 2005, 10:00 AM
pietlinden@hotmail.com
Guest
 
Posts: n/a

re: Storing OLE


Yep, thanks Doug. That's the one.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
storing photos on db - SQL Server B/E, MS Access F/E lorirobn answers 4 June 24th, 2007 09:45 AM
Retrieve Images stored in OLE Objects to ASP page zachhale@gmail.com answers 1 December 22nd, 2006 05:45 PM
Storing MS Office documents, .txt files, and .PDFs within a JET back end? (PeteCresswell) answers 6 July 11th, 2006 02:25 AM
bound ole ctrl only displaying path Jon Weston answers 8 February 23rd, 2006 09:45 AM