OLE Container Control
OLE Container Control
OLE (Object Linking and Embedding) is a means to interchange data between applications.
1. In Insert Object Dialog box select Create From File radio button.
2. Click on Browse button and select a document file .
3. Click on Ok
4. An object is embedded into OLE Container control and a part of document is displayed.
5. Run the project using F5.
6. Double click on OLE Container control. This action will invoke MS-Word and run it in OLE
Container control. When OLE Server runs in OLE Client, it is called as In-Place Activation.
7. Make necessary changes using MS-Word.
8. Press ESC key to come out of In-Place activation.
Word, excel, powerpoint or any applications can be linked and embedded using this OLE Control in
visual Basic.