By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,673 Members | 1,696 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,673 IT Pros & Developers. It's quick & easy.

OLE Object (bound object); extracting

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.