8 OLE, Active X and COM
-
Upload
rochana-ramanayaka -
Category
Documents
-
view
219 -
download
0
Transcript of 8 OLE, Active X and COM
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 1/9
OLE, Active X and COM
Visual Programming
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 2/9
Object Linking and Embedding
• Object Linking and Embedding (OLE) is a
distributed object system and protocol
developed by Microsoft.
• OLE allows an editor to "farm out" part of adocument to another editor and then
reimport it.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 3/9
OLE 2.0 -> Active X
• In 1996, Microsoft renamed the OLE 2.0
technology to ActiveX.
• ActiveX introduced ActiveX Controls, Active
Documents and Active Scripting (built on top ofOLE Automation).
• This version of OLE is commonly used by Web
designers to embed multimedia files in Web
pages.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 4/9
Component Object Model
• Component Object Model (COM) is aMicrosoft platform for softwarecomponentry introduced by Microsoft in
1993.• The term COM is often used in the
software development world as anumbrella term that encompasses the OLE,OLE Automation, ActiveX, COM+ andDCOM technologies.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 5/9
Component Object Model
• The essence of COM is a language-neutral way
of implementing objects such that they can be
used in environments different from the one they
were created in, even across machineboundaries.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 6/9
.NET Framework
• The Microsoft .NET Framework is a software
component which can be added to the Microsoft
Windows operating system. It provides a large
body of pre-coded solutions to common programrequirements, and manages the execution of
programs written specifically for the framework.
The .NET Framework is a key Microsoft offering,
and is intended to be used by most newapplications created for the Windows platform.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 7/9
.NET Framework
• Interoperability - Because so many COM libraries have alreadybeen created, the .NET Framework provides methods for allowinginteroperability between new code and existing libraries.
• Common Runtime Engine - Programming languages on the .NET
Framework compile into an intermediate language known as theCommon Intermediate Language, or CIL; Microsoft's implementationof CIL is known as Microsoft Intermediate Language, or MSIL. InMicrosoft's implementation, this intermediate language is notinterpreted, but rather compiled in a manner known as just-in-timecompilation (JIT) into native code. The combination of theseconcepts is called the Common Language Infrastructure (CLI), a
specification; Microsoft's implementation of the CLI is known as theCommon Language Runtime (CLR).
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 8/9
.NET Framework
• Language Independence - The .NET Framework introduces aCommon Type System, or CTS. The CTS specification defines allpossible datatypes and programming constructs supported by theCLR and how they may or may not interact with each other.Because of this feature, the .NET Framework supports developmentin multiple programming languages.
• Base Class Library - The Base Class Library (BCL), sometimesreferred to as the Framework Class Library (FCL), is a library oftypes available to all languages using the .NET Framework. TheBCL provides classes which encapsulate a number of commonfunctions, including file reading and writing, graphic rendering,
database interaction and XML document manipulation.
7/27/2019 8 OLE, Active X and COM
http://slidepdf.com/reader/full/8-ole-active-x-and-com 9/9
.NET Framework
• Simplified Deployment - Installation anddeployment of Windows applications has beenthe bane of many developers' existence.Registry settings, file distribution and DLL hell have been nearly completely eliminated by newdeployment mechanisms in the .NETFramework.
• Security - .NET allows for code to be run withdifferent trust levels without the use of aseparate sandbox.