473,466 Members | 1,613 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Picture

Hi
I want too create a picture database.How can I link a picture(tiff, JPG) on
one
datafield? If I use ole objekt I only see the filename but not the picture.
Further I will give some information about the picture in some fields. How
can I save the information I want in the picture with xmp?

thank a lot for your help

Dirk

Nov 13 '05 #1
5 1930
"dirk nerlich" <di**********@arcor.de> wrote in
news:43***********************@newsread4.arcor-online.net:
I want too create a picture database.How can I link a picture(tiff,
JPG) on one
datafield? If I use ole objekt I only see the filename but not the
picture. Further I will give some information about the picture in
some fields. How can I save the information I want in the picture with
xmp?


See PictureMgr here:

http://www.datastrat.com/DataStrat2.html

Never include a picture (not even as OLE) in a databse to avoid bloating.

Add the fields you need for additional info to the main table.
--

It is I, DeauDeau
(Free after monsieur Leclerc in 'Allo, 'allo)
Nov 13 '05 #2
Br
dirk nerlich <di**********@arcor.de> wrote:
Hi
I want too create a picture database.How can I link a picture(tiff,
JPG) on one
datafield? If I use ole objekt I only see the filename but not the
picture. Further I will give some information about the picture in
some fields. How can I save the information I want in the picture
with xmp?
thank a lot for your help

Dirk

Just store the full pathname in a text field. Then have a form with an
unbound image and set the source to the text field in code.
--
regards,

Bradley

A Christian Response
http://www.pastornet.net.au/response
Nov 13 '05 #3
Thanks for the help. It works good, but it seems that it only show jpg. How
can I do this with tiff?

best regards

Dirk

"Dodo" <dodo2u@-takethisNOSPAMout-freemail.nl> schrieb im Newsbeitrag
news:Xn******************************@130.133.1.4. ..
"dirk nerlich" <di**********@arcor.de> wrote in
news:43***********************@newsread4.arcor-online.net:
I want too create a picture database.How can I link a picture(tiff,
JPG) on one
datafield? If I use ole objekt I only see the filename but not the
picture. Further I will give some information about the picture in
some fields. How can I save the information I want in the picture with
xmp?


See PictureMgr here:

http://www.datastrat.com/DataStrat2.html

Never include a picture (not even as OLE) in a databse to avoid bloating.

Add the fields you need for additional info to the main table.
--

It is I, DeauDeau
(Free after monsieur Leclerc in 'Allo, 'allo)

Nov 13 '05 #4
"dirk nerlich" <di**********@arcor.de> wrote in
news:43***********************@newsread4.arcor-online.net:
Thanks for the help. It works good, but it seems that it only show
jpg. How can I do this with tiff?


Extension TIF?

Then you have to add this extension to the module that imports the
filenames.

You find it in the module modPath_File under

Sub ReadFolderInfo(rs As Recordset, strFolderName As String)
--

It is I, DeauDeau
(Free after monsieur Leclerc in 'Allo, 'allo)
Nov 13 '05 #5
"dirk nerlich" wrote
I want too create a picture database.
How can I link a picture(tiff, JPG) on
one datafield? If I use ole objekt I only
see the filename but not the picture.
Further I will give some information
about the picture in some fields. How
can I save the information I want in
the picture with xmp?


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.

Stephen also has a control for displaying images, I believe, if you cannot
for some reason (e.g., no graphics filters) use the Image control.

Larry Linson
Microsoft Access MVP
Nov 13 '05 #6

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

Similar topics

4
by: Chris | last post by:
Hi, I am trying to set the position of a picture inside a picturebox with the folowing code: pctOutput.Picture = LoadPicture(App.Path & "\picture.bmp", , , , ) I didn't know what to fill...
10
by: Chris Coho, Jr. | last post by:
Ok, I'll explain the whole problem because there may be several ways to solve this and hopefully someone knows one. What I'm doing is creating a specialty template editor, similar to say a corel...
2
by: Sandra Setz | last post by:
Hi, I was wondering if someone could explain to me what the difference is between the width propery of the picture property of an image and the width property of the image itself. I would...
3
by: Sandra Setz | last post by:
Hi, Is it possible to assign the Picture property of a picturebox to the Picture property of an image control? I use an invisble picturebox to make some changes to a picture, but I want to...
2
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 =...
6
by: John Ortt | last post by:
Hi there everyone, I have a part info form which has a faded image of our company logo as a background. I want to replace the faded image with a bright red warning image on items which have run...
4
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,...
6
by: Jeff | last post by:
Hey (and thank you for reading my post) In visual web developer 2005 express edition I've created a simple website project.. At this website I want users who register to be able to upload a...
3
by: raghunadhs | last post by:
hi all! i have a picture box, in that picture box, there is a picture asume it as "pic1.bmp".. now i have made some changes in that picture. Now i want to load a picture to a image( my form...
1
by: orson4music | last post by:
I have two picture boxes on my form. One on top of the other. The top most picture box's movement is restricted within the picture box below making it look like the top most picture box is contained...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...

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.