473,414 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

OLE Object (bound object); extracting

I am using the GetLinkedPath() function provided by MS (http://
support.microsoft.com/kb/199066) to extract the path to embedded OLE
objects, but it is only working properly for bound object frames
having a DisplayType property set to 'content' (as opposed to
'icon'). This property is apparently read-only, as I cannot set it in
code.
Since these specific OLE objects are displayed in their bound object
frame as icons, calls to the GetLinkedPath() function only return the
path to the icon image (ex: C:\WINNT\Installer\
{AC76BA86-1033-0000-7760-100000000002}\PDFFile.ico)

Does anyone know how to access the path to an OLE object that is
displayed as an icon, or a way to set the DisplayType property to
'Content'? (manually this would be done by selecting the OLE/DDE links
menu item under Edit)

Feb 28 '07 #1
2 6905
Have you tried the ExtractInventoryOLE solution on my site here:
http://www.lebans.com/oletodisk.htm

If you do not get the exact results you desire then just step through the
source code. At least you will be able to see exactly what information is
contained in the Access and OLE wrappers.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"robert.waters" <ro***********@gmail.comwrote in message
news:11**********************@8g2000cwh.googlegrou ps.com...
>I am using the GetLinkedPath() function provided by MS (http://
support.microsoft.com/kb/199066) to extract the path to embedded OLE
objects, but it is only working properly for bound object frames
having a DisplayType property set to 'content' (as opposed to
'icon'). This property is apparently read-only, as I cannot set it in
code.
Since these specific OLE objects are displayed in their bound object
frame as icons, calls to the GetLinkedPath() function only return the
path to the icon image (ex: C:\WINNT\Installer\
{AC76BA86-1033-0000-7760-100000000002}\PDFFile.ico)

Does anyone know how to access the path to an OLE object that is
displayed as an icon, or a way to set the DisplayType property to
'Content'? (manually this would be done by selecting the OLE/DDE links
menu item under Edit)

Mar 1 '07 #2
On Feb 28, 9:15 pm, "Stephen Lebans" <ForEmailGotoMy.WebSite.-
WWWdotlebansdot...@linvalid.comwrote:
Have you tried the ExtractInventoryOLE solution on my site here:http://www.lebans.com/oletodisk.htm

If you do not get the exact results you desire then just step through the
source code. At least you will be able to see exactly what information is
contained in the Access and OLE wrappers.

--

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

"robert.waters" <robert.wat...@gmail.comwrote in message

news:11**********************@8g2000cwh.googlegrou ps.com...
I am using the GetLinkedPath() function provided by MS (http://
support.microsoft.com/kb/199066) to extract the path to embedded OLE
objects, but it is only working properly for bound object frames
having a DisplayType property set to 'content' (as opposed to
'icon'). This property is apparently read-only, as I cannot set it in
code.
Since these specific OLE objects are displayed in their bound object
frame as icons, calls to the GetLinkedPath() function only return the
path to the icon image (ex: C:\WINNT\Installer\
{AC76BA86-1033-0000-7760-100000000002}\PDFFile.ico)
Does anyone know how to access the path to an OLE object that is
displayed as an icon, or a way to set the DisplayType property to
'Content'? (manually this would be done by selecting the OLE/DDE links
menu item under Edit)
Thanks! I couldn't believe that nobody had coded something to extract
OLE objects, commercial or otherwise ;)

Mar 1 '07 #3

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

Similar topics

2
by: mtp1032 | last post by:
I need to be able to extract the values from an XmlRpcValue where I do not know in advance what the keys are, or how many exist. For example, suppose I have an XmlRpcValue, object, returned by...
6
by: Matthias Kaeppler | last post by:
Hello, during a discussion on a C++ internet forum, some question came up regarding references and the lifetime of the objects they alias. I can't find any clear wording on that in the draft...
7
by: simonwittber | last post by:
>>> gen = iterator() >>> gen.next <method-wrapper object at 0x009D1B70> >>> gen.next <method-wrapper object at 0x009D1BB0> >>> gen.next <method-wrapper object at 0x009D1B70> >>> gen.next...
11
by: Rourke Eleven | last post by:
I have looked and searched. What good is the databind property on Radiobuttons? How does one go about actually using it? What is a good resource on this? I understand that I can easily get/set...
13
by: Randy | last post by:
Is there any way to do this? I've tried tellg() followed by seekg(), inserting the stream buffer to an ostringstream (ala os << is.rdbuf()), read(), and having no luck. The problem is, all of...
0
by: Tim Marshall | last post by:
A2003. I would desperately like to have a similar ole object on a report object such that when the report is printed, it takes all the properties of a similar object on the form. In this case,...
6
by: Werner | last post by:
Hi, I try to read (and extract) some "self extracting" zipefiles on a Windows system. The standard module zipefile seems not to be able to handle this. False Is there a wrapper or has...
1
by: nassersh | last post by:
I am using a bound control to embed word documents within an access form. I have created two buttons on the form One to embed aand display and one to close. I embed one doc and then save the doc...
275
by: Astley Le Jasper | last post by:
Sorry for the numpty question ... How do you find the reference name of an object? So if i have this bob = modulename.objectname() how do i find that the name is 'bob'
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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:
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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...

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.