473,797 Members | 3,148 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

OLE Object (bound object); extracting

I am using the GetLinkedPath() function provided by MS (http://
support.microso ft.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\Instal ler\
{AC76BA86-1033-0000-7760-100000000002}\P DFFile.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 6924
Have you tried the ExtractInventor yOLE 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.wat ers" <ro***********@ gmail.comwrote in message
news:11******** **************@ 8g2000cwh.googl egroups.com...
>I am using the GetLinkedPath() function provided by MS (http://
support.microso ft.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\Instal ler\
{AC76BA86-1033-0000-7760-100000000002}\P DFFile.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.co mwrote:
Have you tried the ExtractInventor yOLE 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.wat ers" <robert.wat...@ gmail.comwrote in message

news:11******** **************@ 8g2000cwh.googl egroups.com...
I am using the GetLinkedPath() function provided by MS (http://
support.microso ft.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\Instal ler\
{AC76BA86-1033-0000-7760-100000000002}\P DFFile.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
2025
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 some xml-rpc method, XmlRpc::XmlRpcValue xmlVal = some_xmlrpc_method(...); that when printed to std::cout, i.e., std::cout << xmlVal << std::endl;
6
1509
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 standard. Example 12.2 in the standard document illustrates that temporaries bound to references-to-const live as long as the reference does. But does it e.g. matter if the temporary was created in scope of a function body and has to outlive the...
7
2503
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 <method-wrapper object at 0x009D1BB0> >>> gen.next is gen.next
11
4664
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 the information I need programmatically, but what about the databind property I just don't understand it's value.
13
3739
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 these methods EXTRACT the data at one point or another. The other problem is there appears to be NO WAY to get at the actual buffer pointer (char*) of the characters in the stream. There is a way to get the streambuf object associated with the...
0
1437
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, the object on the form is a chart object that has been manipulated by a user interface I've developed. IS it possible to use the source item property of a bound object frame on the report to pull what is on the form object? If so, how? I see...
6
4457
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 some one experience with other libaries to
1
2091
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 and close bound control then open the next doc. Each time I open the doc an instance of winword is opened in the background, however, when I close the bound control object (doc_container) the winword instance is not closed and is still running....
275
12418
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
10245
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10205
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10021
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7559
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6802
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5458
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3748
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.