Monday, April 21, 2008

Object Linking and Embedding

Active X
----------
Strength of Microsoft Windows Operating System is Active X.
The basis of Active X Technology is Component Object Model(COM)

Active X Control and Active X Control are Different
Active X Contorl is apart of Active X Technology

In 1990's(ie:1994) Active X controls came into picture as OLE control
(Object Linking Embeding)

Architecture of this Reusable Windows Control is known as OCX94 which was
introduced against custom control DLL,
Visual basic Control (VBX) OLE

In 1996 OCX94 Architecture was modified by microsoft and changed it to OCX96.
Then OLE Control came to know as Active X control


Example Object Linking
-------------------------

1) Run MS-Word Pgm
2) In 'Insert' Menu ,Select 'Object' Option then select 'Create from File' tab
3)Select tab Create from File and then browse an existing excel file
4) Tick the checkbox 'Link to file'
5)Then Click 'OK' button

Now in Word Document Excel Sheet tables will be loaded as in Original Excel sheet .If any

change made to original Excel sheet that change also will reflect in Word Document .

If double clcik on word document of an excel table excel application will run and can able to

edit

Here MS Word is called as container and MS Excel is called as Server Application
If we delete this server application it is not possible to edit word document


Example Object Embedding
-------------------------
1) Run MS-Word Pgm
2) In 'Insert' Menu ,Select 'Object' Option then select 'Create from File' tab
3)Select tab Create from File and then browse an existing excel file
4)5)Then Click 'OK' button

Here there will be no inter-connection or interaction with word and excel documents

No comments:

Post a Comment