8 OLE, Active X and COM

9
OLE, Active X and COM Visual Programming

Transcript of 8 OLE, Active X and COM

Page 1: 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

Page 2: 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 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.

Page 3: 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 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.

Page 5: 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 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.

Page 6: 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 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.

Page 7: 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 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).

Page 8: 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 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.

Page 9: 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 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.