|
-
Jul 28th, 2008, 05:37 AM
#1
Thread Starter
Member
Reg OLE
Hi all,
I have doubt about the OLE. Can any explain in detail. It would be helpful to understand detail..
Thanks in advance
-
Jul 28th, 2008, 07:04 AM
#2
Re: Reg OLE
http://en.wikipedia.org/wiki/Object_..._and_Embedding might be of use to you. As that hyperlink shows, OLE stands for Object Linking and Embedding.
From the above:
The main benefit of using OLE is to display visualizations of data from other programs that the host program is not normally able to generate itself (e.g. a pie-chart in a text document), as well as to create a master file
It is an older, COM based technology usually seen and used within Microsoft Office applications. For example when you attach a Visio file into Word and are able to double click it in order to edit the Visio file, or alternatively when you insert an Excel table into word using the toolbar icon to perform this.
You haven't posted a specific question so I take it the above should help give you an overview of this technology and render this thread resolved?
-
Jul 28th, 2008, 07:17 AM
#3
Thread Starter
Member
Re: Reg OLE
Hi alex_read,
I appreciated your reply...
I understand your thought regarding the OLE..
Though I have few doubts about the COM. Is it any relation between OLE and COM. Because usually I create business COM (Ocx/dll) in Visual basic program.
As per your thought the OLE is integrated in Microsoft Excel, Word. But how will my COM link or embed to my other program. Do you have any idea regarding this.
Or How can I say the my Ocx/ Dll as COM?
Thanks in advance...
-
Jul 28th, 2008, 07:54 AM
#4
Re: Reg OLE
There is a relation as OLE is built on top of the COM model, it is written to utilise the COM technology if you like. If you are using (VB5 I believe) or VB6, or write your classes and DLLs in .Net with the COM specific attributes upon the classes and methods, then you can say it supports COM. Nowadays .Net superceeds COM and there are rare cases in which you would want to have your .Net code wrapped in additional layers of conversion code so it interacts with COM as opposed to using the .Net framework...
It sounds now as though you might have a specific question or thought of implementation for OLE as opposed to wanting a general overview of what it is now. If that's correct, what are you thinking of here? What did you want to accomplish, just allowing you application to be embedded in Office documents or something else?
-
Jul 28th, 2008, 08:30 AM
#5
Thread Starter
Member
Re: Reg OLE
Hi Alex,
Thanks for immediate reply.As per your thought Microsoft Office used a COM object. So it is support the OLE. What are the component we are saying the COM object? I know only Ocx, dll. TLB. Is there any else. Because I only created the OCX and dll using the vb6.0 application.
My idea about COM is:
1. Re-usability
2. Fully support the OOPs concept.
3. It shares the application memory rather allocate separate memory.
4. It's portable for all programming language like .Net, Delphi, VB...
Is there any thing import use available for COM object..
How to distribute my Ocx and DLL into remote machine. Is OLE has support this facility?
Actually my doubt is how to share the same object between two application as like Ms Office chart data.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|