Using vb6 application in Oracle 12c database - oracle

I have an vb6 application working using Oracle 10g which uses oo4o to connect with database. From the recent version (Oracle 12c) has stopped supporting oo4o. So I am trying to write a .dll file in C#, so that oracle 12c can be connected. So is it possible to write a .dll in c# which will connect to vb6?
Please do me give some reference to accomplish this task.
Thanks,

Related

Connect to a MS Access database with SQL Developer

I have a Microsoft Access database (.accdb extension) that I would like to query with SQL developer version 19.4. Is this possible? and how do I achieve this?
I am not planning on migrating the database, I would just like to be able to query it with SQL (as I am not familiar with Access).
When I create a new connection I don't have the possibility to select Access in a tab with this version of SQL developer. When I use an older version it is there, but it doesn't support the extension of my Access database.
I found this as well: Connecting MS Access to Oracle SQLDeveloper
But the suggestions done there are not suitable for me unfortunately.
No it's not possible.
We used to offer this functionality via a odbc-jdbc bridge, but that went away with Java 7 I believe.
We've not built native support for an Access JDBC driver.
If you can find a copy of SQL Developer version 3, you can do what you want, out-of-the-box.
FYI, sql developer 4.0.3 also has Access and can open Oracle 19c.
You may need the driver:
Microsoft Access Database Engine 2016 Redistributable
Then you can create a Linked Server using your accdb file as source.

Add providers to VS 2008 Connection Manager?

With Visual Studio 2008 I'm trying to connect to an Oracle database using Oracle Provider to OLE DB (the only Oracle driver available in dropdown), and I'm having issues with it. So I'm trying to add other drivers to that VS2008 "Connection Manager" dropdown. Unfortunately, I only see the ones in this screenshot
How can I add other drivers to this dropdown? When I create an ODBC driver, I see several other Oracle drivers to choose from that I don't see in the VS2008 dropdown.
You installed more than one Oracle Client, this is always a bad idea. Usually there is no reason to install more than one Oracle Client, i.e. one each for 32-bit and 64-bit.
For OLE DB you cannot install more than one driver (per architecture), see Installation Considerations for Oracle Database Client:
You can install all Oracle components in multiple Oracle homes on the
same computer. However, some components can only support one active
instance at a time. This means that the current (latest) installation
renders the previous one inactive. These components are:
Oracle Administration Assistant for Windows
Oracle Provider for OLE DB
This is a limitation in COM. So, you cannot add other providers, at least no other Oracle Provider for OLE DB
You could use the Microsoft OLE DB Provider for Oracle (MSDAORA), however this has been deprecated for ages and it is really not recommended to use it.
Instead of OLE DB you could also use ODBC or use the Oracle Data Provider for .NET, you can download and install it from here: 32-bit Oracle Data Access Components (ODAC)
As far as I know Visual Studio 2008 supports only .NET Framework only up to version 3.5, thus you would have to use the Oracle Data Provider for .NET 2.0, version 4 will not work.
Maybe this list provides an overview for you: How to connect to Oracle 11 database from . net
If you like to get a list of all OLE DB providers which are installed on your machine, check this one: How to check the version of oracle provider for ole-db. OraOLEDB.Oracle provider

Which Oracle 11g has DBCA?

I am having an issue with Oracle 11g. I need to download an Oracle 11g database that has the Database Configuration Assistant. I had already downloaded Oracle 11g Express Edition not realizing it apparently doesn't have DBCA.
So which Oracle 11g do I need to download so I can use DBCA?
I am on the Oracle website and see Oracle 11g Release 2. I have a Windows laptop with Windows 10.
That would be any other version (Standard or Enterprise).
11gXE has its limitations and creates a sample database during the installation process. As it allows only one instance, DBCA is useless in that version and is, therefore, not shipped with it.
Standard or Enterprise edition of Oracle 11g would do.
I have downloaded the version from Oracle and DBCA worked for me.

Can't connect to Oracle server from my machine using Microsoft's SSMA for Oracle tool

I'm trying to connect to Oracle 9i database from my machine (Windows 7 x64) using Microsoft's tool SSMA for Oracle v7.6.0 but getting the following error :
System.Data.OracleClient requires Oracle client software version 8.1.7 or greater.
A quick search on the Internet shows that this error message is quite generic accross Microsoft products which can connect to Oracle databases. I have no idea which Oracle software should I install, and how to configure SSMA so as to be able to use it.
How can I solve this issue ?

Connecting Excel 2010 VBA to Oracle using 11g client

I have an Excel macro that I have used to connect to Oracle 10g just fine.
I've brought that sheet over to a PC with the Oracle 11g 64-bit client installed, and Excel 2010, and now it doesn't work. I get an error along the lines of
"Microsoft ODBC For Oracle
The Oracle(tm) client and networking components were not found"
Help?
Using the 32-bit client worked.
:)

Resources