469,602 Members | 1,826 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,602 developers. It's quick & easy.

Copying A Picture From An OLE Object On A Form To A File

Hi

Can anyone tell me if it is possible to save a picture stored in an OLE
objects on a form (bound object frame / unbound object frame) to a file.

I have seen a command SavePicture Picture as LPPictureDist, Filename, but
can not get it to work.

Steve
Nov 13 '05 #1
5 6730
For a single instance simply right click on the OLE Frame control in
Design view, select COPY. Now open up your favourite Paint program and
select PASTE from its Edit menu.

For programmatic export of embedded OLE Images see:
http://www.lebans.com/oletodisk.htm
A2KExportOLEtoJPEG.zip A2K ONLY! This version saves the entire
contents of a table containing OLE Object Images to disk based Jpeg
files. User selectable compression rate. Version 1.5

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steve" <st****@ufrmsa1.uniforum.org.za> wrote in message
news:cl*********@ctb-nnrp2.saix.net...
Hi

Can anyone tell me if it is possible to save a picture stored in an OLE objects on a form (bound object frame / unbound object frame) to a file.
I have seen a command SavePicture Picture as LPPictureDist, Filename, but can not get it to work.

Steve


Nov 13 '05 #2
Thanks so much for the help, it is really appreciated. The only hassle is
the dll will not save the jpg file, it gives a code of -10, any ideas?

Thanks Again
Steve

"Stephen Lebans" <Fo****************************************@linval id.com>
wrote in message news:Qi**********************@ursa-nb00s0.nbnet.nb.ca...
For a single instance simply right click on the OLE Frame control in
Design view, select COPY. Now open up your favourite Paint program and
select PASTE from its Edit menu.

For programmatic export of embedded OLE Images see:
http://www.lebans.com/oletodisk.htm
A2KExportOLEtoJPEG.zip A2K ONLY! This version saves the entire
contents of a table containing OLE Object Images to disk based Jpeg
files. User selectable compression rate. Version 1.5

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steve" <st****@ufrmsa1.uniforum.org.za> wrote in message
news:cl*********@ctb-nnrp2.saix.net...
Hi

Can anyone tell me if it is possible to save a picture stored in an

OLE
objects on a form (bound object frame / unbound object frame) to a

file.

I have seen a command SavePicture Picture as LPPictureDist, Filename,

but
can not get it to work.

Steve

Nov 13 '05 #3
OLEtoDisk has been used by thousands of people to export their images.

The error is most likely generated because you have not followed the
step by step instructions on the Export Form. Specifically:

You are trying to use a field as the source for the output filename that
contains illegal filename characters. This is Step#4 on the form.

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steve" <st****@ufrmsa1.uniforum.org.za> wrote in message
news:cl**********@ctb-nnrp2.saix.net...
Thanks so much for the help, it is really appreciated. The only hassle is the dll will not save the jpg file, it gives a code of -10, any ideas?

Thanks Again
Steve

"Stephen Lebans" <Fo****************************************@linval id.com> wrote in message

news:Qi**********************@ursa-nb00s0.nbnet.nb.ca...
For a single instance simply right click on the OLE Frame control in
Design view, select COPY. Now open up your favourite Paint program and select PASTE from its Edit menu.

For programmatic export of embedded OLE Images see:
http://www.lebans.com/oletodisk.htm
A2KExportOLEtoJPEG.zip A2K ONLY! This version saves the entire
contents of a table containing OLE Object Images to disk based Jpeg
files. User selectable compression rate. Version 1.5

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Steve" <st****@ufrmsa1.uniforum.org.za> wrote in message
news:cl*********@ctb-nnrp2.saix.net...
Hi

Can anyone tell me if it is possible to save a picture stored in
an OLE
objects on a form (bound object frame / unbound object frame) to a

file.

I have seen a command SavePicture Picture as LPPictureDist,
Filename, but
can not get it to work.

Steve



Nov 13 '05 #4
another question.
I have around 900 photos (900 jpg files) named from 001.jpg to 900.jpg and I
need to insert in a table. eg. photo 001.jpg in register number 1.
the question is: how can I insert the 900 humdred files at the same time?
what kind of code do I need to use.

thank you very much

"Stephen Lebans" <Fo****************************************@linval id.com>
escribió en el mensaje
news:1k**********************@ursa-nb00s0.nbnet.nb.ca...
OLEtoDisk has been used by thousands of people to export their images.

The error is most likely generated because you have not followed the
step by step instructions on the Export Form. Specifically:

You are trying to use a field as the source for the output filename that
contains illegal filename characters. This is Step#4 on the form.

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Nov 13 '05 #5
Thanks I sorted it - it was my error.

Steve

"hal3" <h_**@no.no> wrote in message
news:VK***********************@telenews.teleline.e s...
another question.
I have around 900 photos (900 jpg files) named from 001.jpg to 900.jpg and I need to insert in a table. eg. photo 001.jpg in register number 1.
the question is: how can I insert the 900 humdred files at the same time?
what kind of code do I need to use.

thank you very much

"Stephen Lebans" <Fo****************************************@linval id.com>
escribió en el mensaje
news:1k**********************@ursa-nb00s0.nbnet.nb.ca...
OLEtoDisk has been used by thousands of people to export their images.

The error is most likely generated because you have not followed the
step by step instructions on the Export Form. Specifically:

You are trying to use a field as the source for the output filename that
contains illegal filename characters. This is Step#4 on the form.

--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.


Nov 13 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by Matt | last post: by
2 posts views Thread by Lyn | last post: by
2 posts views Thread by Lyn | last post: by
10 posts views Thread by Martin Ho | last post: by
6 posts views Thread by Jeff | last post: by
1 post views Thread by =?Utf-8?B?Y3JhbmtlX2JveQ==?= | last post: by
reply views Thread by guiromero | last post: by
reply views Thread by devrayhaan | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.