473,796 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Handling Picture in Access Database

I need to bind in (thumbnail-sized) pictures into an Access Database
in such a way that there is one picture for each record (abt. 3000
records on the whole). Ideally, the pictures should show on the Form.
Until now, I have embedded OLE-objects and have inserted each picture
manually in the records - but the pictures do not show in the Forms. I
have to double-click an icon and then, the picture will open in an
external programme.
PROBLEM WITH THIS: I want to publish my database (result of a
research-project) in form of a CD-Rom. - When the CD-Rom version is
used, and the picture is opened, the entire Database-programme gets
stuck, because the picture does not close properly; it is waiting to
be "Saved" which is not possible on a CD Rom.

NEED URGENT HELP!
Nov 13 '05 #1
2 4224
Hello Ulrike,

you might want to take a look here
http://www.mvps.org/access/forms/frm0030.htm

Cheers
Konstantinos

"Ulrike" <sa***@nus.edu. sg> wrote in message
news:f9******** *************** ***@posting.goo gle.com...
I need to bind in (thumbnail-sized) pictures into an Access Database
in such a way that there is one picture for each record (abt. 3000
records on the whole). Ideally, the pictures should show on the Form.
Until now, I have embedded OLE-objects and have inserted each picture
manually in the records - but the pictures do not show in the Forms. I
have to double-click an icon and then, the picture will open in an
external programme.
PROBLEM WITH THIS: I want to publish my database (result of a
research-project) in form of a CD-Rom. - When the CD-Rom version is
used, and the picture is opened, the entire Database-programme gets
stuck, because the picture does not close properly; it is waiting to
be "Saved" which is not possible on a CD Rom.

NEED URGENT HELP!

Nov 13 '05 #2
"Ulrike" wrote
I need to bind in pictures into
an Access Database in such a
way that there is one picture for
each record (abt. 3000 records
on the whole). Ideally, the pictures
should show on the Form.


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.zi p 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.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
8355
by: Matt Evans | last post by:
Hi, this must have been asked for before, but I cannot see it. Hopefully this is very simple. I have a form which shows everything from a table. In this table is a picture field called photo. I need to show the picture which corresponds to the description (which is in another field in the same table). i.e. the description is the House name, and I need to show the picture for that house.
1
1622
by: Tamer Sabry | last post by:
Hi, I am making a real estate database for my company. I am new to access. I made a picture field and I want to have different pictures for every record. My problem is no matter if I have an OLE filed or not I cannot see my picture in the form and report views. My other dilemma is that I want to create ASP code to connect the database and pull up the information from the web. So my questions are: 1- What type of field should the...
2
1653
by: Matt | last post by:
Thank you for trying to help. I am a newbie trying to learn access. I am creating a database in access97 with few picture fields in it. After some research I decided to use the famous "External File" type suggested by Larry Linson. I decided to go into datasheetview of the table and manually fill up the directory root for the files. Everything works fine. My problem here is there are some records which don't have a picture to it. So...
2
8975
by: Lyn | last post by:
I am trying to embed a picture into a Bound Object Frame (Me!Photograph) with the following code which is based on MS article http://support.microsoft.com/?id=158941: strPathname = "C:\photo.bmp" Me!Photograph.Class = "Paint.Picture" Me!Photograph.OLETypeAllowed = acOLEEmbedded Me!Photograph.SourceDoc = strPathname Me!Photograph.Action = acOLECreateEmbed
8
2336
by: Robert | last post by:
I am creating a database that will have a large number of images in it and I would like some input as to the best way to handle them. Each record in my database will have a one-to-many relationship with a Pictures table, i.e. there will be several pictures for each record in my main table. There are several things that I would like to be able to do with this setup, and this is what I am thinking:
4
12853
by: NASAdude | last post by:
I'm working on distributing a database using VS Tools for Office, and am having trouble with linked images on forms/reports. The image objects have a default path\file set on the .Picture property, which becomes invalid when the user installs the database (ie: c:\devpath\ becomes c:\program files\mydbapp, but the .Picture property still points to c:\devpath\) The problem is that I don't *know* what installation path the user will select,...
0
11599
by: Lysander | last post by:
Thought I would give something back with a few articles. This article is a bit of code to add error handling. When I have time, I want to write articles on multilingual databases, and Access Security, but I'll start with something short and simple This code was written in Access 2003 but should be valid in Access 2000 By default, when you start a new module, either in a form or report, or a global module, Access does not declare Option...
1
1992
by: mclewell | last post by:
I would like to start off by saying i'm in no way an expert by any means. I've had access since 97 and way back then set up a database for eBay stock. i had the old micrografx picture publisher program also installed. i got bloat i guess it's called due to the jpgs unbound in my form view, to get around this and still have pictures i created a start up database then just copied and renamed it for the different items on eBay, postcards,...
1
2860
by: davidwelli | last post by:
Hello, I have a Access 200 format database that contains contact details and a picture for each record. The contact details are held in one table and the images are held in another as OLE Objects. This database is used to produce passes. I want to export one record from the dartabase including the picture into a format that can be easily tansferred by email. I've created a query based on the two tables that will retreive all the...
0
9524
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10217
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10168
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5440
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5568
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.