Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does the ole object in the database refer to

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces what the ole object in the database refers to, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.

Ole objects in database are desktop application integration, and also define and implement a mechanism that allows applications to "connect" each other as software "objects" (functions of data collection and data manipulation). This connection mechanism and protocol is called component object Model, or COM for short.

The operating environment of this tutorial: windows7 system, Microsoft Office Access2013 version, Dell G3 computer.

Object Linking and Embedding, object connection and embedding, referred to as OLE technology. OLE is not only an integration of desktop applications, but also defines and implements a mechanism that allows applications to "connect" to each other as software "objects" (functions for data collection and data manipulation). This connection mechanism and protocol is called component object Model (Component Object Model), or COM. OLE can be used to create composite documents, which contain different types of data created in different source applications, so it can combine text, sound, images, tables, and so on.

OLE is a set of comprehensive standards for transferring and sharing information between customer applications. A protocol that allows you to create mixed documents with links to applications so that users do not have to switch between applications when modifying. OLE is based on the component object Model (COM) and allows the development of reusable plug and play objects that interoperate between multiple applications. The agreement has been widely used in business, where spreadsheets, word processors, financial software packages and other applications can share and link separate information through the client / server system.

OLE is an object-oriented technology, which can be used to develop reusable software components (COM).

Extended data:

OLE classes, files, projects

The OLE class determines the server on which the OLE object is created. Some applications need to create multiple types of OLE objects, such as linking or embedding formulas, pictures, and so on. The OLE class also determines the type of data contained in the OLE object, and the OLE class is defined for linked or embedded objects.

The OLE file is the source file that contains OLE object data. Linked objects must use an object file because linked objects are saved in the file. If your application creates an embedded object from an existing source file, use the OLE file as well. For example, if you link to a QuattiPro notebook

If the OLE object TUTOR.WBI is stored in the D:\ DFFICE\ QPW directory, the OLE file is D:\ DFFICE\ QPW\ TUTOR.WBI. It is worth noting that OLE files can only be defined by linked objects, while for embedded objects, you only need to define the OLE class.

An OLE project is part of an OLE file that represents linked or embedded data. When the application wants the OLE object to contain blocks smaller than the OLE file, it must use the OLE project.

Menus for OLE applications

The menus of OLE applications are roughly the same as the main menus of other applications, and menu fusion is required if there are OLE 2.0 objects that support local activation in the application. Check the data of the OLE server to see if the server supports local activation.

The GroupIndex property of the OLE application menu determines the location of the merged menu, that is, whether the merged menu changes the main menu or is inserted into the main menu of the application.

OLE toolbar and status bar

When the OLE object is activated locally, the OLE server will attempt to replace the OLE application's with its own toolbar and status bar. If the application wants to activate locally, you should write code in the application to let the server use the toolbar and status bar. To do this, you must:

Set up the toolbar and status bar

Add a status bar to the application

Create a toolbar and status bar by modifying the properties of the panel widget. When the OLE object is activated locally, panels or other alignment controls are coordinated with the OLE server program. This means that the OLE server can replace any alignment control in the OLE application form, but the locked control cannot be replaced. For example, if the align property of the panel is alTop,alleft,alBottom,alIngh and the control is not locked, the OLE server can replace it. To prevent the application's toolbars and status bars from being replaced, set the locked property to true.

OLE Automation

OLE automation is a mechanism by which Windows applications manipulate another program. Applications that automate programs are called automation objects or automation servers, such as Word, and applications that operate or automate other programs are called automation controllers or automation clients [2]. Using the idea of OLE automation, the interaction between two Web application systems can be realized. OLE 2.0 provides a way to integrate applications, that is, command operations between applications.

With OLE 2. 0, programmers can define a set of commands to enter into other programs. These commands can take parameters. It looks like an application is calling a function or procedure. By using the above approach, the interaction between the two applications can be made without human participation. Programs that are automated are called automation objects or automation servers, and applications that operate or automate other programs are called automation controllers or automation clients.

Thank you for reading this article carefully. I hope the article "what does the ole object in the database refer to" shared by the editor will be helpful to everyone? at the same time, I also hope that you will support and pay attention to the industry information channel, and more related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report