This chapter introduces Oracle Objects for OLE (OO4O).
- Cannot Load Ole 2.0 Or Docfile Libraries Mac
- Cannot Load The Ole 2.0 Or Doc File Libraries Machine
- Cannot Load The Ole 2.0 Or Doc File Libraries Machines
- Word Cannot Load The Ole 2.0 Or Doc File Libraries Mac
- Cannot Load The Ole 2.0 Or Doc File Libraries Mac Os
- Cannot Load The Ole 2.0 Or Doc File Libraries Macbook
├── AppImage │ └── AppImage-17-06-17-mac ├── AppImage-packages │ └── 10.03.17 ├── Squirrel.Windows │ └── Squirrel.Windows-1.6.0.0 ├── fpm │ └── fpm-1.8.1-20150715-2.2.2 ├── linux-tools │ └── linux-tools-mac-10.12 ├── nsis │ └── nsis-3.0.1.13 ├── nsis. The Python DB API has been included as well from the very early days, not as supported database client – this was only introduced in the latest SAP HANA 2.0 SPS 02 release – but for internal housekeeping. Python was the lingua franca of the TREX Search Engine, which technology made its way into HANA as well.
Note:
Oracle Database 11g Release 2 (11.2) is the last database version that supports Oracle Objects for OLE. Oracle Database versions, which are released after Oracle Database 11g Release 2 (11.2), will not support Oracle Objects for OLE. You can continue to use Oracle Objects for OLE with existing Oracle Database versions that are covered under the lifetime support policy of Oracle.This chapter contains these topics:
Overview of Oracle Objects for OLE
Oracle Objects for OLE (OO4O) allows you to access data stored in Oracle databases with any programming or scripting language that supports Microsoft COM Automation and ActiveX technology. This includes Visual Basic, Visual C++, Visual Basic for Applications (VBA), IIS Active Server Pages (VBScript and JavaScript), and others.
Figure 1-1 illustrates the software layers that comprise the OO4O product.
Figure 1-1 Software Layers of OO4O
Description of 'Figure 1-1 Software Layers of OO4O'
OO4O provides the following:
Oracle Objects for OLE In-Process Automation Server
The OO4O In-Process Automation Server is a set of COM Automation Objects for connecting to Oracle databases, executing SQL statements and PL/SQL blocks, and accessing the results.
Figure 1-2 illustrates the object model that comprise the OO4O product.
Figure 1-2 Automation Objects
Description of 'Figure 1-2 Automation Objects'
Unlike other COM-based database connectivity APIs, such as Microsoft ActiveX Data Objects (ADO), the OO4O Automation Server was created specifically for use with Oracle databases. It provides an optimized API for accessing features that are unique to the Oracle database and are otherwise cumbersome or unavailable from ODBC or OLE DB components.
OO4O provides key features for accessing Oracle databases efficiently and easily in environments ranging from the typical two-tier client/server applications, such as those developed in Visual Basic or Excel, to application servers deployed in multitiered application server environments such as Web server applications in Microsoft Internet Information Server (IIS) or Microsoft Transaction Server (MTS).
Features include:
Oracle 11g is grid enabled, allowing developers to take full advantage of grid support without changes being required to existing code.
Tunable client-side, scrollable and updatable cursors for easy and efficient access to result sets of queries.
PL/SQL support for execution of PL/SQL anonymous blocks and stored procedures. This includes support for the Oracle data types, such as PL/SQL cursors, that are needed for parameters of PL/SQL stored procedures.
Support for array fetches, updates, and inserts resulting in reduced network round-trips.
Connection pooling to allow development of scalable middle tier application components, such as IIS Active Server Pages, that use and serve dynamic content stored in Oracle databases.
Support for COM+ and Microsoft Transaction Server (MTS) co-ordinated transactions.
Seamless access to instances of advanced Oracle data types:
Object references (REFs)
Object instances (Objects)
Nested tables
VARRAY
sBLOB
s,CLOB
s,NCLOB
s, andBFILE
s
XML generation.
Full support for advanced queuing.
Support for publishing, detecting, and subscribing to database events.
Support for asynchronous processing of SQL statements and PL/SQL blocks.
Easy to use interface for describing schema objects.
The Oracle code wizard for stored procedures, which automatically generates OO4O code to execute PL/SQL or Java stored procedures.
Thread safety, allowing safe access to automation objects in multithreaded environments.
See Also:
Oracle Data Control
Oracle Data Control is an ActiveX control that is designed to simplify the exchange of data among an Oracle database and visual controls such as edit, text, list, and grid controls in Visual Basic and other development tools that support custom controls.
A data control enables you to perform most data access operations without writing any code. To create a dynaset with a data control, set the Connect
, DatabaseName
, and RecordSource
properties, and execute the Refresh
command.
A data control enables you to bind it to other controls that display a field, a record, or multiple records of the underlying dynaset. When record movement occurs, data in bound controls stay synchronized with the current record of the dynaset. If a user changes data in a control that is bound to a data control, the changes are automatically reflected in the underlying dynaset and database.
The Oracle Data Control is compatible with the Microsoft data control included with Visual Basic. If you are familiar with the Visual Basic data control, learning to use Oracle Data Control is quick and easy. Communication between for detailed information.
See Also:
'Oracle Objects for OLE Redistributable Files' and 'Troubleshooting' for further information on Oracle Objects for OLE requirementsOracle Objects for OLE File Locations
As part of the OO4O installation, the following directories are created and contain the corresponding files:
ORACLE_BASEORACLE_HOME
OO4O
- SQL scripts and constants fileORACLE_BASEORACLE_HOME
OO4OCPP
- Libraries, include files, DLLs, and source for the class libraryORACLE_BASEORACLE_HOME
OO4OCPPMFC
- Libraries, include files, and source for the MFC Bound Class LibraryORACLE_BASEORACLE_HOME
OO4OEXCELSAMPLES
- Excel samplesORACLE_BASEORACLE_HOME
OO4OVBSAMPLES
- Visual Basic samplesORACLE_BASEORACLE_HOME
OO4OVBSAMPLESQT
- Visual Basic Quick Tour guideORACLE_BASEORACLE_HOME
OO4OIISSAMPLES
- IIS samplesORACLE_BASEORACLE_HOME
OO4Ocodewiz
- OO4O Code Wizard samples
Component Certifications
Find the latest certification information at My Oracle Support (formerly OracleMetaLink):
You must register online before using My Oracle Support. After logging into My Oracle Support, select Product Lifecycle from the left column. From the Products Lifecycle page, click Certifications. Other Product Lifecycle options include Product Availability, Desupport Notices, and Alerts.
Oracle Objects for OLE Redistributable Files
This section discusses files that can be redistributed or updated on a computer that belongs to an end user or a developer.
If you cannot guarantee that your end users have the current release of Oracle Objects for OLE installed on their computers, you need to redistribute specific files that are part of Oracle Objects for OLE along with your OO4O application. A typical scenario might be if OO4O is installed as a patch without use of Oracle Universal Installer.
Redistributable File Locations
Table 1-1 lists the Redistributable file locations with comments and further actions that are needed.
Table 1-1 Redistributable File Locations
Cannot Load Ole 2.0 Or Docfile Libraries Mac
Files | Place in Directory | Further Actions | Comments |
---|---|---|---|
|
| Execute the following from a command prompt:
| None. |
|
| None. | None. |
|
| None. | Change |
|
| Edit for the correct
| File provided to register OO4O configuration information. |
|
| None. | This message file is language-specific. |
(for Microsoft VC++) or
|
| For
| Distribute the files that correspond to the development software used in your application. |
Cannot Load The Ole 2.0 Or Doc File Libraries Machine
Additionally, ensure that the system requirements described in 'Overview of Oracle Objects for OLE' are met.
You must also distribute the files from the following list that correspond to the development software you used to build your application:
oraclm32.dll
(for Microsoft Visual C++)oradc.ocx
Cannot Load The Ole 2.0 Or Doc File Libraries Machines
Updating Files and Registrations
The oo4oparm.reg
file is provided to register OO4O configuration information. Review this file and edit it as necessary to reflect the correct ORACLE_HOME
location and HOME
ID
on your computer. To register oip
VER
.dll
and enter the OO4O configuration information for oo4oparm.reg
in the registry, execute the following from a command prompt:
drive
:
path
>
regsvr32.exe oip
VER
.dll
drive
:
path
>
oo4oparm.reg
The message file oiplang.msb
should also be provided and copied to the ORACLE_BASEORACLE_HOME
oo4omesg
directory. The message file is specific to a language. For example, oipus.msb
is the English version and oipja.msb
is the Japanese version.
Note:
Oracle Data Control (Word Cannot Load The Ole 2.0 Or Doc File Libraries Mac
oradc.ocx
Cannot Load The Ole 2.0 Or Doc File Libraries Mac Os
) must be registered to function. The OLE Control Extension (OCX) can be registered by executing the following at the command prompt:Cannot Load The Ole 2.0 Or Doc File Libraries Macbook
drive
:
path
>
regsvr32.exe oradc.ocx