473,326 Members | 2,126 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,326 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 6898
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: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.