471,579 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,579 software developers and data experts.

Finding image dimensions in OLE Object field

Hello,

I have an ole object field (Access XP/2002) which I store images in. I have
a couple of questions regarding this; is it possible to determine the image
dimensions? Secondly, is there any way to determine what application is
associated with the stored OLE Object and is there a way to associate that
object programmatically with another application?

Thanks!
Apr 7 '06 #1
1 3582
The answers are:
YES
http://www.lebans.com/autosizeole.htm
A97AutosizeOLE.zip is a database containing functionality to allow for the
auto sizing of bound or unbound OLE Frame controls. Here is the A2K version:
A2KAutosizeOLE.zip
YES
http://www.lebans.com/oletodisk.htm
NEW - Feb 06/2006 ExtractInventoryOLE.zip A2K or higher ONLY! This
version saves the entire contents of a table containing OLE Objects to disk.
Does NOT require the original application that served as the OLE server to
insert the object. Supports all MS Office documents, PDF, All images
inserted by MS Photo Editor, MS Paint, and Paint Shop Pro. Also supports
extraction of PACKAGE class including original Filename. Contains function
to produce a full Inventory of the OLE field including LINKED path and
Filenames. Uses Structured Storage API's to read the actual contents of the
field. Version BETA 1.56
NO
You cannot modify the existing association as the OLE Server App inserts the
Image using a private data format that nobody else but that app will
recognize. Your best bet is to use the solution I referred you to above and
export all your images and then reinsert them. This can all be done
programmatically.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Rico" <me@you.com> wrote in message news:_luZf.9929$4S.872@edtnps82...
Hello,

I have an ole object field (Access XP/2002) which I store images in. I
have a couple of questions regarding this; is it possible to determine the
image dimensions? Secondly, is there any way to determine what
application is associated with the stored OLE Object and is there a way to
associate that object programmatically with another application?

Thanks!

Apr 7 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by dave | last post: by
14 posts views Thread by D. Alvarado | last post: by
1 post views Thread by rob c | last post: by
6 posts views Thread by MurrayTh | last post: by
1 post views Thread by Gordon Scott | last post: by
4 posts views Thread by chrisse_2 | last post: by
7 posts views Thread by xx75vulcan | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by lumer26 | last post: by

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.